tail-slice ( seq n -- slice )
Factor handbook » The language » Collections » Sequence operations » Subsequences and slices

Prev:head-slice ( seq n -- slice )
Next:head-slice* ( seq n -- slice )


Vocabulary
sequences

Inputs
seqa sequence
na non-negative integer


Outputs
slicea slice


Word description
Outputs a virtual sequence sharing storage with all elements from the nth index until the end of the input sequence.

Errors
Throws an error if the index is out of bounds.

See also
tail, tail*, tail-slice*

Definition