[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loop macro, "for across" expansion fails
- To: firstname.lastname@example.org, email@example.com
- Subject: Re: loop macro, "for across" expansion fails
- From: haible (Bruno Haible)
- Date: Thu, 2 Feb 95 14:44:31 +0100
Lauri Siponen <firstname.lastname@example.org> writes:
> Loop macro expander fails when a "for across" construct
> is followed by other iteration constucts.
This is a bug in CLISP and will be fixed in the next release,
> > (loop for a across "abc" for b across "123" collect a collect b)
> *** - AREF: index 3 for "abc" is out of range
As a temporary workaround, you can join the FOR clauses using AND.
(loop for a across "abc" and for b across "123" collect a collect b)