[r6rs-discuss] [Formal] Extended definition of map and for-each

John Cowan cowan at ccil.org
Fri Sep 22 16:43:15 EDT 2006


Submitter: John Cowan
Email address: cowan at ccil.org
Issue type: Enhancement
Priority: Minor
Component: Base Library
Report version: 5.91
Summary:  Map and for-each should work even if lists are of unequal length

The R6RS definitions of "map" and "for-each" should permit the list
arguments to be of unequal length, and specify that they terminate
when the shortest list runs out.  This is what SRFI-1 does, it is
cheap, and it is useful.

-- 
One Word to write them all,             John Cowan <cowan at ccil.org>
  One Access to find them,              http://www.ccil.org/~cowan
One Excel to count them all,
  And thus to Windows bind them.                --Mike Champion




More information about the r6rs-discuss mailing list