Subject: Re: designing a Lisp-like language
From: rpw3@rpw3.org (Rob Warnock)
Date: Wed, 19 Sep 2007 03:38:59 -0500
Newsgroups: comp.lang.lisp
Message-ID: <lfmdnQY945y-fW3bnZ2dnUVZ_u7inZ2d@speakeasy.net>
Tamas Papp  <tkpapp@gmail.com> wrote:
+---------------
| ram@zedat.fu-berlin.de (Stefan Ram) writes:
| >   When the symbol »n« has been assigned the value of
| >   »5«, however, I can not write:
| >       »The value is (n).«
| >   because, with the semantics above, this would evaluate
| >   »n« /as a function/.
| >   One would need to insert an »eval« or so:
| >       »The value is (eval n).«
| >   But this would not more complicated.
| 
| Use identity, as in (identity n).  You can bind it to a shorter name,
| eg id.
+---------------

IMHO the name you want to use is VALUES, with a single arg.
Unlike EVAL, it will handle lexical variables. 

[IDENTITY will work too, but who knows? Some day you just might
need real multiple values...]


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607