[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loop macro, "for across" expansion fails
- To: clisp-list@ma2s2.mathematik.uni-karlsruhe.de, haible@ma2s2.mathematik.uni-karlsruhe.de
- Subject: Re: loop macro, "for across" expansion fails
- From: haible (Bruno Haible)
- Date: Thu, 2 Feb 95 14:44:31 +0100
Lauri Siponen <siponen@cs.hut.fi> 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)
Bruno Haible
haible@ma2s2.mathematik.uni-karlsruhe.de