Next: SRFI-1 Deleting, Previous: SRFI-1 Filtering and Partitioning, Up: SRFI-1
The procedures for searching elements in lists either accept a predicate or a comparison object for determining which elements are to be searched.
Return the first element of lst which satisfies the predicate pred and
#fif no such element is found.
Return the first pair of lst whose car satisfies the predicate pred and
#fif no such element is found.
Return the longest initial prefix of lst whose elements all satisfy the predicate pred.
take-while!is allowed, but not required to modify the input list while producing the result.
Drop the longest initial prefix of lst whose elements all satisfy the predicate pred.
spansplits the list lst into the longest initial prefix whose elements all satisfy the predicate pred, and the remaining tail.breakinverts the sense of the predicate.
span!andbreak!are allowed, but not required to modify the structure of the input list lst in order to produce the result.
Apply pred across the lists and return a true value if the predicate returns true for any of the list elements(s); return
#fotherwise. The true value returned is always the result of the first successful application of pred.
Apply pred across the lists and return a true value if the predicate returns true for every of the list elements(s); return
#fotherwise. The true value returned is always the result of the final successful application of pred.