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
na non-negative integer
seqa resizable mutable sequence


Outputs
seqa resizable mutable sequence


Word description
Removes the n th 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