VocabularysequencesInputs and outputs| n | a starting index |
| seq | a sequence |
| quot | a quotation with stack effect ( ... elt -- ... ? ) |
| i | the index of the first match, or f |
| elt | the first matching element, or f |
Word descriptionApplies the quotation to each element of the sequence in reverse order, until it outputs a true value or the start of the sequence is reached. If the quotation yields a true value for some sequence element, the word outputs the element index and the element itself. Otherwise, the word outputs an index of
f and
f as the element.
See alsofind,
find-from,
find-last,
find-last,
searchDefinition