Re: Question about scope and let...

Harley Gorrell <[email protected]>
Newsgroups gmane.lisp.allegro
Message-ID <[email protected]>
On Tue, 28 Jan 2003, Fabrizio Morbini wrote:
> Hi, why there is this behaviour?
> CL-USER(1): (setq var-test 5)
> 5
> CL-USER2: (let ((var-test 4)) var-test (eval 'var-test))
>
> 4
> 5
> CL-USER(3):

>From http://www.lispworks.com/reference/HyperSpec/Body/f_eval.htm
> Evaluates form in the current dynamic environment and the
> null lexical environment.

The Hyperspec -- Read it, learn it, love it!

harley.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.