set-second ( second seq -- )


Vocabulary
sequences

Inputs
secondan object
seqa sequence


Outputs
None

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