manpagez: man pages & more
info guile
Home | html | info | man
[ << ] [ < ] [ 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 the every procedure defined by SRFI-1; the exists procedure is identical to SRFI-1’s any. 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, for partition.

Scheme Procedure: fold-left combine nil list1 list2 …
Scheme Procedure: fold-right combine nil list1 list2 …

These procedures are identical to the fold and fold-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, and remq are identical to the delete, delv, and delq procedures provided by Guile’s core library, (see section List Modification). remp is identical to the alternate remove 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, and memq are identical to the procedures provided by Guile’s core library; See section List Searching, for their documentation. memp uses the specified predicate function proc to test elements of the list list—it behaves similarly to find, except that it returns the first sublist of list whose car satisfies proc.

Scheme Procedure: assp proc alist
Scheme Procedure: assoc obj alist
Scheme Procedure: assv obj alist
Scheme Procedure: assq obj alist

assoc, assv, and assq are identical to the procedures provided by Guile’s core library; See section Alist Key Equality, for their documentation. assp uses the specified predicate function proc 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.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.