reject! ( ... seq quot: ( ... elt -- ... ? ) -- ... seq )


Vocabulary
sequences

Inputs and outputs
seqa resizable mutable sequence
quota quotation with stack effect ( ... elt -- ... ? )


Word description
Applies the quotation to each element in turn, and removes elements for which the quotation outputs a true value.

Side effects
Modifies seq

See also
filter, filter-as, filter!, reject, reject-as, sift, harvest

Definition


: reject! ( ... seq quot: ( ... elt -- ... ? ) -- ... seq )
[ not ] compose filter! ; inline