[comp.lang.lisp] functionp on the NeXT

jpd00964@uxa.cso.uiuc.edu (11/18/89)

I an experienced programmer, but a lisp novice.  

The problem stems from the command functionp.  According to Winston & Horn
3rd Edition, functionp only returns T for a function.  Using it the problem
they give, however, it does not do what they say on the NeXT Franz Allegro
Common LISP system.

Looking into it some more, I find it returns T for functions, 'foo, nil, t, 
and anything bound to a symbol.
It returns false only for numbers and lists whose car is not lambda.

On an IBM PC using golden common lisp, I got nil for (functionp nil)

Which is right, and why?
Regardless, what good is functionp if it returns T for non functions?

I do not frequent this notesfile, so I would appreciate E-Mail instead of 
postings.  

Michael Rutman
jpd00964@uxa.cso.uiuc.edu
cc:dpd722@uxf.cso.uiuc.edu

The cc is for my friend, thanx to one and all.