?(defstruct (person (:include event-emitter:event-emitter*)) name)
PERSON
?(event-emitter:on :name-change (make-person) (lambda (new-name) (format t "New name:~A~%" new-name)))
;;; An error of type SIMPLE-ERROR was detected in function STD-SLOT-VALUE:
;;; Error: The slot COMMON-LISP::EFFECTIVE-SLOTS is missing from the class #<Standard-Class STRUCTURE-CLASS #x36B93E8>.
;;; Entering Corman Lisp debug loop.
;;; Use :C followed by an option to exit. Type :HELP for help.
;;; Restart options:
;;; 1 Abort to top level.
In Corman Lisp: