You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vect is a nice function just like tuple (albeit with an ugly abbreviated name). I want to use it more easily. Can we export it?
help?> Base.vect
vect(X...)
Create a Vector with element type computed from the promote_typeof of the argument, containing the argument list.
Examples
≡≡≡≡≡≡≡≡≡≡
julia> a = Base.vect(UInt8(1), 2.5, 1//2)
3-element Vector{Float64}:1.02.50.5
The text was updated successfully, but these errors were encountered:
Typically, one doesn't call vect directly, instead they use the literal vector construction syntax [1,2]. Do you intend to pass the function as an argument, possibly dispatching on it?
vect
is a nice function just liketuple
(albeit with an ugly abbreviated name). I want to use it more easily. Can we export it?The text was updated successfully, but these errors were encountered: