sift! ( seq -- seq' )


Vocabulary
sequences.extras

Inputs
seqa resizable mutable sequence


Outputs
seq'a resizable mutable sequence


Word description
Removes all instances of f from a sequence.

Notes
The sequence seq MUST be growable. See Resizable sequence implementation.

Side effects
Modifies seq

Examples
USING: prettyprint sequences.extras ; V{ 2 f "a" f { } f } sift! .
V{ 2 "a" { } }


See also
sift, filter!, filter, harvest!, harvest

Definition