From: Zhiwei Yang
Subject: Definition of Lambda expression
Date:
Message-ID: <4922@darmstadt.gmd.de>
Hi,
Maybe a silly question.
Could anyone tell me
If the following are the same definition for Lambda expression,
(lambda argument-list body)
(lambda lambda-list . body) ?
The former is defined by Deborah G. Tatar in his Book
"Common lisp -- A programmer's Guid" at page 175,
and the last is defined by Guy L. Steele JR. in his
Book "Common lisp -- the Language" at page 59.
Thanks in advance!
--
Mr. Zhiwei Yang | e-mail: ····@darmstadt.gmd.de
GMD. Rheinstr. 75 | or ····@darmstadt.gmd.dbp.de
6100 Darmstadt | German National Research Center for Computer Science
In article <····@darmstadt.gmd.de> ····@darmstadt.gmd.de (Zhiwei Yang) writes:
> If the following are the same definition for Lambda expression,
>
> (lambda argument-list body)
>
> (lambda lambda-list . body) ?
>
> The former is defined by Deborah G. Tatar in his Book
>"Common lisp -- A programmer's Guid" at page 175,
> and the last is defined by Guy L. Steele JR. in his
>Book "Common lisp -- the Language" at page 59.
The second definition is correct.
Some people use the term "body" to indicate an arbitrary number of forms,
and that was probably Tatar's intention.
--
Barry Margolin, Thinking Machines Corp.
······@think.com
{uunet,harvard}!think!barmar