|
From: | Sascha Ziemann |
Subject: | [Chicken-users] for-each and mismatching list lengths |
Date: | Tue, 20 Sep 2011 12:17:22 +0200 |
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 out-of-range for both.
[Prev in Thread] | Current Thread | [Next in Thread] |