first4 ( seq -- first second third fourth )
Factor handbook > The language > Collections > Sequence operations > Accessing sequence elements

Prev:first3 ( seq -- first second third )


Vocabulary
sequences

Inputs and outputs
seqa sequence
firstthe first element
secondthe second element
thirdthe third element
fourththe fourth element


Word description
Pushes the first four elements of a sequence.

Errors
Throws an error if the sequence has less than four elements.

Definition