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 and outputs
seqa sequence
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, last, but-last, but-last-slice, rest

Definition