[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unbound Slots
- To: Common-Lisp-Object-System@Sail.stanford.edu
- Subject: Unbound Slots
- From: Bobrow.pa@Xerox.COM
- Date: 24 Sep 87 09:17 PDT
NOTE: The name
slot-uninitialized
has been changed to
slot-unbound
Not all slots in an instance need to be bound. This can happen if a
slot has no :initform, an has not been set, or if the user has called
slot-makunbound. Referencing an unbound slot of an instance of a
standard class causes the generic-function slot-unbound to be invoked.
The arguments to slot-unbound are the same as the arguments to
slot-value-using-class, that is, the class of the instance whose slot
was accessed, that instance, and the name of the slot.
The generic function slot-unbound is not intended to be called
by programmers. Programmers are expected to write methods for it.
The function slot-unbound is called only by the function
slot-value-using-class.
slot-unbound class instance slot-name (generic function)
The slot-unbound method on standard-class signals an error.