Next: srfi list spec cons, Up: srfi list spec [Index]
In a Scheme system that has a module or package system, these procedures
should be contained in a module named list-lib
. The templates
given below obey the following conventions for procedure formals:
list
a proper (finite, nil–terminated) list;
clist
a proper or circular list;
flist
a finite (proper or dotted) list;
pair
a pair;
x, y, d, a
any value;
object, value
any value;
n, i
a natural number (an integer >= 0);
proc
a procedure;
pred
a procedure whose return value is treated as a boolean;
=
a boolean procedure taking two arguments.
It is an error to pass a circular or dotted list to a procedure not defined to accept such an argument.