From: ·················@i2.com
Subject: setq
Date: 
Message-ID: <btru5wcu.fsf@APDEUR4.i-did-not-set--mail-host-address--so-shoot-me>
Why does the following happen in common lisp

>(setq + 3)
3
>+
(setq + 3)

Any hints will be appreciated.
Immanuel
From: Barry Margolin
Subject: Re: setq
Date: 
Message-ID: <Haeh1.38$V%5.1073974@cam-news-reader1.bbnplanet.com>
In article <············@APDEUR4.i-did-not-set--mail-host-address--so-shoot-me>,
 <·················@i2.com> wrote:
>
>Why does the following happen in common lisp
>
>>(setq + 3)
>3
>>+
>(setq + 3)
>
>Any hints will be appreciated.

+ is one of the variables that's maintained by the Read-Eval-Print loop.
It's automatically set to the last form that was evaluated by the R-E-P
loop.  See p.494-496 of CLtL2.

-- 
Barry Margolin, ······@bbnplanet.com
GTE Internetworking, Powered by BBN, Cambridge, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.