set-first ( first seq -- )


Vocabulary
sequences

Inputs
firstan object
seqa sequence


Outputs
None

Word description
Sets the first element of a sequence.

Examples
USING: prettyprint kernel sequences ; { 1 2 3 4 } 5 over set-first .
{ 5 2 3 4 }


See also
set-second, set-third, set-fourth

Definition