map-filter ( ... seq map-quot: ( ... elt -- ... newelt ) filter-quot: ( ... newelt -- ... ? ) -- ... subseq )


Vocabulary
sequences.extras

Inputs
seqa sequence
map-quotan object
filter-quotan object


Outputs
subseqan object


Word description
Perform a map on the given sequence with map-quot, then perform a filter on the result with filter-quot.

Definition


: map-filter
( ... seq map-quot: ( ... elt -- ... newelt ) filter-quot: ( ... newelt -- ... ? ) -- ... subseq )
pick map-filter-as ; inline