Next: srfi ilists procs constructors, Up: srfi ilists procs [Index]
The templates given below obey the following conventions for procedure formals:
A proper (‘()’–terminated) ilist.
A proper or dotted ilist.
An immutable pair.
Any value.
Any value.
A natural number (an integer ‘>= 0’).
A procedure.
A procedure whose return value is treated as a boolean.
A boolean procedure taking two arguments.
To interpret the examples, pretend that they are executed on a Scheme that prints immutable pairs and lists with the syntax of mutable ones.
It is an error to pass a dotted ilist to a procedure not defined to accept such an argument.