Change construction type parameters for a type in a vector?

You need to specialize Base.vect

julia> Base.vect(X::Pickle...) = Pickle[X[i] for i in eachindex(X)]

julia> [Dill(3), Dill(4)]
2-element Vector{Pickle}:
 Dill(3)
 Dill(4)
1 Like