1 (in-package :lisp-on-lines
)
3 (define-description standard-object
()
4 ((class-slots :label
"Slots"
5 :function
(compose 'class-slots
'class-of
))))
7 (define-layered-class slot-definition-attribute
(standard-attribute)
8 ((slot-name :initarg
:slot-name
:accessor attribute-slot-name
)))
10 (define-layered-method attribute-value
(object (attribute slot-definition-attribute
))
11 (slot-value object
(attribute-slot-name attribute
)))
14 (define-layered-method description-of
((object standard-object
))
15 (find-description 'standard-object
))