[cmucl-imp] Eval issue

Stas Boukarev stassats at gmail.com
Fri Aug 28 22:23:43 UTC 2015


Blake McBride <blake1024 at gmail.com> writes:

> (setq x 33)
>
> (let ((x 44))
>   (eval '(print x))
>   nil)
>
> SBCL, CCL, CLISP, ABCL, ECL, GCL, MKCL all print 33.
>
> CMUCL prints 44.
>
> The spec is confusing to me.  Which should it be?
Whichever. The consequences of (setq x 33) are undefined.

-- 
With best regards, Stas.


More information about the cmucl-imp mailing list