Handbook
Glossary
map-find-last-index ( ... seq quot: ( ... elt index -- ... result/f ) -- ... result i elt )
Vocabulary
sequences
.
extras
Inputs
seq
a
sequence
quot
a
quotation
Outputs
result
an
object
i
an
integer
elt
an
object
Word description
A version of
map-find-index
where the index of the found element, if any, is returned.
Definition
USING:
sequences.extras.private
;
IN:
sequences.extras
:
map-find-last-index
( ... seq quot: ( ... elt index -- ... result/f ) -- ... result i elt )
[
find-last-index
]
(map-find-index)
;
inline