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