remove-eq! ( elt seq -- seq )
Factor handbook » The language » Collections » Sequence operations » Destructive sequence operations

Prev:remove! ( elt seq -- seq )
Next:remove-nth! ( n seq -- seq )


Vocabulary
sequences

Inputs
eltan object
seqa resizable mutable sequence


Outputs
seqa resizable mutable sequence


Word description
Outputs a new sequence containing all elements of the input sequence except the given element.

Notes
This word uses identity comparison (eq?).

Side effects
Modifies seq

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

Definition