set-second ( second seq -- )


Vocabulary
sequences

Inputs and outputs
secondan object
seqa sequence


Word description
Sets the second element of a sequence.

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


See also
set-first, set-third, set-fourth

Definition