[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A question

(dumb question of the month :-) )
Is it possible to define a class (say class2) based on an instance of a
superior class (class1) in such a way that the value in a slot of an
instance of class1 is shared by instances of class2 (i.e., changes to the
value of the slot in an instance of class2 are visible to the methods
associated with class1 and vice versa).

In my reading of the CLOS spec I'm not sure if this is a reasonable
thing to expect to be able to do, or if it is, how one goes about
defining that behavior.