This throws an error:
(for-each (lambda (a b)
(printf ~s ~s\n a b))
(list 1 2 3 0)
(list 4 5 6))
But this does not:
(for-each (lambda (a b)
(printf ~s ~s\n a b))
(list 1 2 3)
(list 4 5 6 0))
Is this a bug or feature?
Guile throws
Christian Kellermann scripsit:
SRFI-1's map allows this so (use srfi-1) if you need it.
For what it's worth, R7RS changes map and for-each to work like SRFI 1,
so I would advise fixing this.
--
John Cowan co...@ccil.org http://ccil.org/~cowan
Assent may be registered by a signature, a