Handbook
Glossary
find-last-index ( ... seq quot: ( ... elt i -- ... ? ) -- ... i elt )
Vocabulary
sequences
.
extras
Inputs
seq
a
sequence
quot
a
quotation
Outputs
i
an
integer
elt
an
object
Word description
A simpler variant of
find-last-index-from
, with starting index set to 0.
Definition
USING:
kernel
sequences
;
IN:
sequences.extras
:
find-last-index
( ... seq quot: ( ... elt i -- ... ? ) -- ... i elt )
[
index-of-last
]
dip
find-last-index-from
;
inline