Node:Class Slots, Next:Handling Slot Access Errors, Previous:Instance Slots, Up:Accessing Slots
Slots whose allocation is per-class rather than per-instance can be referenced and set without needing to specify any particular instance.
class-slot-ref class slot-name | procedure |
Return the value of the slot named slot-name in class class.
The named slot must have #:class or #:each-subclass
allocation (see allocation).
If there is no such slot with |
class-slot-set! class slot-name value | procedure |
Set the value of the slot named slot-name in class class to
value. The named slot must have #:class or
#:each-subclass allocation (see allocation).
If there is no such slot with |