[Openmcl-devel] LOOP parallel for/as termination eval order issue.
Pascal J. Bourguignon
pjb at informatimago.com
Sun Oct 17 12:39:22 PDT 2010
Kaz Kylheku <kaz at kylheku.com> writes:
> Hi all,
>
> The following for returns nil in CCL and Allegro, but (1 2 3) in
> Clisp.
>
> (loop for x in nil and y = '(1 2 3) then (cdr y) finally (return y))
>
> My expectation is that the CLISP behavior is right, because
> [...]
> When major implementations get stuff like this wrong, no wonder
> Lispers eschew LOOP (or include their own LOOP macro in the
> code base).
Or choose to use clisp.
--
__Pascal Bourguignon__ http://www.informatimago.com/
More information about the Openmcl-devel
mailing list