Subject: Re: Idiot's guide to special variables take 2
From: Erik Naggum <erik@naggum.no>
Date: 19 Nov 2002 06:31:36 +0000
Newsgroups: comp.lang.lisp
Message-ID: <3246676296502193@naggum.no>

* Kenny Tilton
| (defun interpret-this (some-code)
|     (let ((a 1) (b 2) (c :whatever))
|        (eval some-code)))
| 
| I am no expert on eval or anything else for that matter, but when I look
| at the above, I would be appalled if the evaluation of some-code were
| affected by the lexical bindings of a, b, and c.

  Do not forget `some-code´ in this list.

  Your example is instructive for quite another reason.  Do those who think
  that `eval´ should "work" in the lexical environment of the caller, also
  think this should hold for calls to `interpret-this´?  If not, why not?

-- 
Erik Naggum, Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.