From: Barry Margolin
Subject: Re: gcl quirks
Date: 
Message-ID: <4M4y.61$Ps3.1481881@cam-news-reader1.bbnplanet.com>
In article <··············@mute.eaglets.com>,
Sam Steingold  <···@usa.net> wrote:
>in gcl 2.2.2 on linux:
>
>(functionp 'cdr) ==> T

GCL is based on the original CLtL, not CLtL2 or the ANSI standard.  CLtL
says, "FUNCTIONP is always true of symbols, ..."; as a result even
(functionp 'symbol-I-just-made-up-that-doesn\'t-name-a-function) should
return T in GCL.  If you have CLtL2, this is in the dotted-out part of the
description.

>(functionp (lambda()))
>Error: The function LAMBDA is undefined.

The LAMBDA macro was added by the ANSI committee.  It happened late enough
that it didn't even make it into CLtL2.

-- 
Barry Margolin, ······@bbnplanet.com
GTE Internetworking, Powered by BBN, Cambridge, MA
Support the anti-spam movement; see <http://www.cauce.org/>
Please don't send technical questions directly to me, post them to newsgroups.