[cmucl-imp] Eval issue

Raymond Toy toy.raymond at gmail.com
Sat Aug 29 22:14:37 UTC 2015


>>>>> "Stas" == Stas Boukarev <stassats at gmail.com> writes:

    Stas> 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?
    Stas> Whichever. The consequences of (setq x 33) are undefined.

And for the record, cmucl implicitly declares x to be special.  Cmucl
should have printed a message to that effect too.

--
Ray



More information about the cmucl-imp mailing list