filter-index ( ... seq quot: ( ... elt i -- ... ? ) -- ... seq' )


Vocabulary
sequences.extras

Inputs
seqa sequence
quota quotation


Outputs
seq'a sequence


Word description
Perform a filter on the given sequence, with the index provided as an additional argument to quot.

Definition


: filter-index
( ... seq quot: ( ... elt i -- ... ? ) -- ... seq' )
over filter-index-as ; inline