map-find-index ( ... seq quot: ( ... elt index -- ... result/f ) -- ... result i elt )


Vocabulary
sequences.extras

Inputs
seqa sequence
quota quotation


Outputs
resultan object
ian integer
eltan object


Word description
A version of map-find where the index of the found element, if any, is returned.

Definition


: map-find-index
( ... seq quot: ( ... elt index -- ... result/f ) -- ... result i elt )
[ find-index ] (map-find-index) ; inline