10.2.7 List searching
 Function: find pred clist
 [SRFI1] Applies pred for each element of clist, from
left to right, and returns the first element that pred returns
true on.
 Function: findtail pred clist
 [SRFI1]
Applies pred for each element of clist, from left to right,
and when pred returns a true value, returns the pair whose car
is the element.
 Function: takewhile pred clist

 Function: takewhile! pred list
 [SRFI1]
Returns the longest initial prefix of clist whose elements all
satisfy pred.
 Function: dropwhile pred clist
 [SRFI1]
Drops the longest initial prefix of clist whose elements all
satisfy pred, and returns the rest.
 Function: span pred clist

 Function: span! pred list

 Function: break pred clist

 Function: break! pred list
 [SRFI1]
span
is equivalent to
(values (takewhile pred clist) (dropwhile pred clist))
.
break
inverts the sense of pred.
 Function: any pred clist1 clist2 ...
 [SRFI1]
Applies pred across each element of clists, and
returns true if any application of pred returns true.
The returned value is the true value pred returned.
 Function: every pred clist1 clist2 ...
 [SRFI1]
Applies pred across each element of clists, and
returns true if every application of pred returns true.
If all applications returns a true value until one of the lists
is exhausted,
every
returns the value the last pred
returned.
 Function: listindex pred clist1 clist2 ...
 [SRFI1]
Returns the index of the leftmost element that satisfies pred.
 Function: member$ item

 Function: find$ pred

 Function: findtail$ pred

 Function: any$ pred

 Function: every$ pred
 Partial application version of
member
, find
, findtail
,
any
and every
.
This document was generated
by Ken Dickey on November, 28 2002
using texi2html