Re: Eval issue
Raymond Toy <[email protected]> Sat, 29 Aug 2015 15:14:37 -0700
| Newsgroups | gmane.lisp.cmucl.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Stas" == Stas Boukarev <[email protected]> writes: Stas> Blake McBride <[email protected]> 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 _______________________________________________ cmucl-imp mailing list [email protected] http://lists.zs64.net/mailman/listinfo/cmucl-imp