reject-as ( ... seq quot: ( ... elt -- ... ? ) exemplar -- ... subseq )


Vocabulary
sequences

Inputs and outputs
seqa sequence
quota quotation with stack effect ( ... elt -- ... ? )
exemplara sequence
subseqa new sequence


Word description
Applies the quotation to each element in turn, and outputs a new sequence of the same type as exemplar remove the elements of the original sequence for which the quotation output a true value.

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

Definition


: reject-as
( ... seq quot: ( ... elt -- ... ? ) exemplar -- ... subseq )
[ [ not ] compose ] [ filter-as ] bi* ; inline