Type changes based on declaration

function foo(V::Vector{<:SparseVector})
    println("My function 'tis of thee.")
end

It’s called “invariance”, have a search through the manual to find out what it is.

2 Likes