set-fourth ( fourth seq -- )


Vocabulary
sequences

Inputs and outputs
fourthan object
seqa sequence


Word description
Sets the fourth element of a sequence.

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


See also
set-first, set-second, set-third

Definition