[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: symbol-function of non-functions



Actually, I've always wondered why SYMBOL-FUNCTION has to signal
an error if the symbol does not have anything in its function cell.
If it is in an attempt to be parallel to SYMBOL-VALUE, then what
about SYMBOL-PLIST and SYMBOL-PACKAGE?  SYMBOL-VALUE has to be special
since NIL is an allowable value for a symbol to have, but NIL in
a function cell would mean that there is no function.  Does all of
this mean that it is incorrect to (SETF (SYMBOL-FUNCTION 'FOO) NIL)
and that one *has* to use FMAKUNBOUND instead?

Random