[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: functionp
- To: Aladin Akyurek <akyurek@niscale.LeidenUniv.nl>
- Subject: Re: functionp
- From: bill@cambridge.apple.com (Bill St. Clair)
- Date: Thu, 5 Nov 1992 10:57:36 -0600
- Cc: info-mcl
>When you have a function defined, say (defun junk (x) ... ),
>and you try:
>
>(functionp 'junk)
>
>you get NIL.
>
>Is this not a bug?
At the bottom of p. 102 of CLtL2, it says:
"X3J13 voted in June 1988 <90> to define
(functionp x) = (typep x 'function)
Because the vote also specified that types CONS and SYMBOL are disjoint
from type FUNCTION, this is an incompatible change; now FUNCTIONP is in
fact always false of symbols and lists."
MCL 2.0 includes this incompatible change to FUNCTIONP.