Handbook
Glossary
rest ( seq -- tailseq )
Factor handbook
»
The language
»
Collections
»
Sequence operations
»
Subsequences and slices
Prev:
tail* ( seq n -- tailseq )
Next:
but-last ( seq -- headseq )
Vocabulary
sequences
Inputs
seq
a
sequence
Outputs
tailseq
a new sequence
Word description
Outputs a new sequence consisting of the input sequence with the first item removed.
Errors
Throws an error on an empty sequence.
See also
first
,
first2
,
last
,
last2
,
but-last
,
but-last-slice
,
rest-slice
Definition
IN:
sequences
:
rest
( seq -- tailseq )
1
tail
;