[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DOCUMENTATION and DEFCLASS
I think I've found a small mistake in 88-002R while reviewing Kathy's
draft of the DEFCLASS description. Page 2-24 says
The :DOCUMENTATION class option causes a documentation string to be
attached to the class name.
I believe that should say "... to the class object". Note that page
The form (DOCUMENTATION symbol 'TYPE) returns the documentation string
of the class object named by the symbol ...
(DEFCLASS QQ () () (:DOCUMENTATION "Hello"))
(SETF (FIND-CLASS 'ZZ) (FIND-CLASS 'QQ))
(SETF (CLASS-NAME (FIND-CLASS 'ZZ)) 'ZZ)
(DOCUMENTATION 'ZZ 'TYPE) => "Hello"
Any objection to making an editorial correction?