set-third ( third seq -- )


Vocabulary
sequences

Inputs
thirdan object
seqa sequence


Outputs
None

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