[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7.6.2.5 rnrs lists
The (rnrs lists (6))
library provides procedures additional
procedures for working with lists.
- Scheme Procedure: find proc list
This procedure is identical to the one defined in Guile’s SRFI-1 implementation. See section Searching, for documentation.
- Scheme Procedure: for-all proc list1 list2 ...
- Scheme Procedure: exists proc list1 list2 ...
-
The
for-all
procedure is identical to theevery
procedure defined by SRFI-1; theexists
procedure is identical to SRFI-1’sany
. See section Searching, for documentation.
- Scheme Procedure: filter proc list
- Scheme Procedure: partition proc list
These procedures are identical to the ones provided by SRFI-1. See section List Modification, for a description of
filter
; See section Filtering and Partitioning, forpartition
.
- Scheme Procedure: fold-left combine nil list1 list2 …
- Scheme Procedure: fold-right combine nil list1 list2 …
These procedures are identical to the
fold
andfold-right
procedures provided by SRFI-1. See section Fold, Unfold & Map, for documentation.
- Scheme Procedure: remp proc list
- Scheme Procedure: remove obj list
- Scheme Procedure: remv obj list
- Scheme Procedure: remq obj list
remove
,remv
, andremq
are identical to thedelete
,delv
, anddelq
procedures provided by Guile’s core library, (see section List Modification).remp
is identical to the alternateremove
procedure provided by SRFI-1; See section Deleting.
- Scheme Procedure: memp proc list
- Scheme Procedure: member obj list
- Scheme Procedure: memv obj list
- Scheme Procedure: memq obj list
member
,memv
, andmemq
are identical to the procedures provided by Guile’s core library; See section List Searching, for their documentation.memp
uses the specified predicate functionproc
to test elements of the list list—it behaves similarly tofind
, except that it returns the first sublist of list whosecar
satisfies proc.
- Scheme Procedure: assp proc alist
- Scheme Procedure: assoc obj alist
- Scheme Procedure: assv obj alist
- Scheme Procedure: assq obj alist
assoc
,assv
, andassq
are identical to the procedures provided by Guile’s core library; See section Alist Key Equality, for their documentation.assp
uses the specified predicate functionproc
to test keys in the association list alist.
- Scheme Procedure: cons* obj1 ... obj
- Scheme Procedure: cons* obj
This procedure is identical to the one exported by Guile’s core library. See section List Constructors, for documentation.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on April 20, 2013 using texi2html 5.0.