Vocabulary
sequences

Inputs
seqa sequence


Outputs
butlasta sequence
lastan object


Word description
Outputs a head sequence and the last element of seq; the head sequence consists of all elements of seq but the last.

Examples
USING: prettyprint sequences ; { 1 2 3 } unclip-last prefix .
{ 3 1 2 }


See also
unclip, unclip-slice, unclip-last-slice

Definition