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

Prev:tail-slice* ( seq n -- slice )
Next:but-last-slice ( seq -- slice )


Vocabulary
sequences

Inputs
seqa sequence


Outputs
slicea slice


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

Notes
Equivalent to 1 tail

Errors
Throws an error on an empty sequence.

See also
first, first2, last, last2, but-last, but-last-slice, rest

Definition