set-third ( third seq -- )


Vocabulary
sequences

Inputs and outputs
thirdan object
seqa sequence


Word description
Sets the third element of a sequence.

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


See also
set-first, set-second, set-fourth

Definition