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
There are some functions/constructors which are called on tuples of stuff. We should think about adding some convenience layer such that the user can call such functions on vectors of stuff or in a splatted way as well.
Something like this:
func(x::Tuple) =<do things with x>func(x::AbstractVector) =func(tuple(x...))
func(x::T...) where {T} =func(x)
With this, we avoid having errors all the time, if someone uses the wrong parenthesis, e.g.
There are some functions/constructors which are called on tuples of stuff. We should think about adding some convenience layer such that the user can call such functions on vectors of stuff or in a splatted way as well.
Something like this:
With this, we avoid having errors all the time, if someone uses the wrong parenthesis, e.g.
instead of
The text was updated successfully, but these errors were encountered: