tail is only implemented on
Tuple. If it were also for
Vector, should it be a copy or a view?
There’s not much benefit to
Vector, compared to
a[begin+1:end]). The reason it’s beneficial for tuples is that it ensures that the length of the resulting tuple is known at compile time (if the original tuple’s type is known), which doesn’t apply to vectors (whose length is a runtime quantity).
The benefit is syntactic –
tail can be used point-free (i.e. without reference to
a, such as in
|> tail) – and having a more general abstraction.