[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
loop macro, "for across" expansion fails
- To: firstname.lastname@example.org
- Subject: loop macro, "for across" expansion fails
- From: Lauri Siponen <email@example.com>
- Date: Wed, 1 Feb 1995 10:13:33 +0200
Loop macro expander fails when a "for across" construct
is followed by other iteration constucts. The following
examples demonstrate the bug. The first three ones
give correct results, but the fourth one fails.
> (loop for a in '(a b c) collect a)
(A B C)
> (loop for a in '(a b c) for b in '(1 2 3) collect a collect b)
(A 1 B 2 C 3)
> (loop for a across "abc" collect a)
(#\a #\b #\c)
> (loop for a across "abc" for b across "123" collect a collect b)
*** - AREF: index 3 for "abc" is out of range
"1995-01-01 (January 1995)"
Is there a fix available for this bug?