[rucksack-devel] inherited slots

Cyrus Harmon ch-rucksack at bobobeach.com
Tue Nov 14 23:24:36 UTC 2006


so when I set a class to have metaclass rucksack:persistent-class,  
the direct slots are persistent, but not the indirect (or inherited,  
whatever the proper term is) slots. Is this by design?

e.g. if I do this:

(defclass person ()
   ((name :initform (elt *names* (random (length *names*)))
          :accessor name)
    (age :initform (random 100) :accessor age)))

(defclass persistent-person (person)
   ()
   (:metaclass persistent-class))

then persistent-person will not have persistent name and age slots,  
AFAICT.

Thanks,

Cyrus




More information about the rucksack-devel mailing list