29 Aug
2015
29 Aug
'15
10:14 p.m.
"Stas" == Stas Boukarev <stassats@gmail.com> writes:
Stas> Blake McBride <blake1024@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