?set-nth ( elt n seq -- )
Factor handbook » The language » Collections » Sequence operations » Sequence protocol

Prev:set-nth-unsafe ( elt n seq -- )
Next:set-length ( n seq -- )


Vocabulary
sequences

Inputs
eltan object
nan integer
seqa sequence


Outputs
None

Word description
A forgiving version of set-nth. If the index is out of bounds, does nothing.

Definition