| [ << ] | [ < ] | [ 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-allprocedure is identical to theeveryprocedure defined by SRFI-1; theexistsprocedure 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
foldandfold-rightprocedures 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, andremqare identical to thedelete,delv, anddelqprocedures provided by Guile’s core library, (see section List Modification).rempis identical to the alternateremoveprocedure 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, andmemqare identical to the procedures provided by Guile’s core library; See section List Searching, for their documentation.mempuses the specified predicate functionprocto test elements of the list list—it behaves similarly tofind, except that it returns the first sublist of list whosecarsatisfies proc.
- Scheme Procedure: assp proc alist
- Scheme Procedure: assoc obj alist
- Scheme Procedure: assv obj alist
- Scheme Procedure: assq obj alist
assoc,assv, andassqare identical to the procedures provided by Guile’s core library; See section Alist Key Equality, for their documentation.asspuses the specified predicate functionprocto 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.
