remove-nth! ( n seq -- seq )
Factor handbook > The language > Collections > Sequence operations > Destructive sequence operations

Prev:remove-eq! ( elt seq -- seq )
Next:delete-slice ( from to seq -- )


Vocabulary
sequences

Inputs and outputs
na non-negative integer
seqa resizable mutable sequence


Word description
Removes the nth element from the sequence, shifting all other elements down and reducing its length by one.

Side effects
Modifies seq

See also
remove, remove-nth, remove-eq, remove-eq!, remove!

Definition