In both versions of Lucid and Allegro Common Lisp (at least my versions)
(functionp :any-keyword-symbol) -> T
Does anyone have the latest versions of Allegro and Lucid and if so does
this expression still return T? AKCL returns NIL for this expression.
--
Bill Vrotney
Advanced Decision Systems
In article <······················@deimos.ads.com> ········@deimos.ads.com (Bill Vrotney) writes:
>In both versions of Lucid and Allegro Common Lisp (at least my versions)
>
> (functionp :any-keyword-symbol) -> T
That's correct, according to CLtL1, which I believe is what these
implementations claim to conform to; it specifies that "FUNCTIONP is always
true of symbols". It will be incorrect in ANSI CL, or a CL that
incorporates the CLtL2 changes; X3J13 incompatibly changed FUNCTIONP to be
equivalent to (typep x 'function).
>Does anyone have the latest versions of Allegro and Lucid and if so does
>this expression still return T? AKCL returns NIL for this expression.
I tried it in Lucid 4.0.1 and it returns T. Symbolics Genera 8.1.1 returns
NIL (it only returns T for symbols when FBOUNDP returns T for that symbol
-- I think this is a documented nonconformance). What does AKCL return for
(functionp 'car)?
--
Barry Margolin, Thinking Machines Corp.
······@think.com
{uunet,harvard}!think!barmar