(map-in-order): defined and exported, to support lists of unequal
authorGary Houston <ghouston@arglist.com>
Tue, 3 Jul 2001 20:18:39 +0000 (20:18 +0000)
committerGary Houston <ghouston@arglist.com>
Tue, 3 Jul 2001 20:18:39 +0000 (20:18 +0000)
length.

srfi/ChangeLog
srfi/srfi-1.scm

index c555223..3996b49 100644 (file)
@@ -4,6 +4,8 @@
        delete!, assoc): don't export until the new bindings have been
        created.  otherwise "export" thinks they are being re-exported and
        a deprecation warning is produced.
+       (map-in-order): defined and exported, to support lists of unequal
+       length.
 
 2001-07-03  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
 
index 0687d93..cc53adc 100644 (file)
  append-map
  append-map!
  map!
- ;; map-in-order                       <= in the core
+ ;; map-in-order  ; exported below
  pair-for-each
  filter-map
 
        '()
        (cons (apply f (map1 car l)) (lp (map1 cdr l)))))))
 
+;; extended to lists of unequal length.
+(define map-in-order map)
 
 ;; This `for-each' is extended from the standard `for-each'.  It
 ;; allows argument lists of different length, so that the shortest
 
 ;; extended versions of builtin procedures.  exporting is delayed until the
 ;; new bindings have been created.
-(export iota map for-each list-index member delete delete! assoc)
+(export iota map map-in-order for-each list-index member delete delete! assoc)