Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ncar!boulder!andreasg From: andreasg@boulder.Colorado.EDU (Andreas Girgensohn) Newsgroups: comp.lang.lisp Subject: Re: Scope of EVAL (was: Re: Summing a list) Message-ID: <4345@boulder.Colorado.EDU> Date: 28 Oct 88 04:17:10 GMT References: <10794@srcsip.UUCP> <10813@srcsip.UUCP> <249@pitstop.UUCP> <4154@phoenix.Princeton.EDU> Sender: news@boulder.Colorado.EDU Reply-To: andreasg@boulder.Colorado.EDU (Andreas Girgensohn) Organization: University of Colorado, Boulder Lines: 14 In article <4154@phoenix.Princeton.EDU> eliot@phoenix.Princeton.EDU (Eliot Handelman) writes: >Is that really true? In the following example, EVAL consults the lexical >environment, rather that the global. > >(setq x nil) > >And now (let* ((x t) (y x)) (eval y)) => t EVAL evaluates its argument so that the above call of eval is the same as (eval 't). (eval 'y) will lead to an error unless y is a special variable. Andreas Girgensohn andreasg@boulder.colorado.edu