[comp.lang.clos] Finding all instances

keunen@milou.nrb.be (Vincent Keunen) (04/03/91)

Is there a way to automatically access all instances of a given class in
clos?  I figured it would not be that easy to implement: one should
write a method for instance creation, deletion, renaming,...  Moreover,
all classes in the hierarchy would have to be modified to reflect the
addition (in case one want all instances... admittedly, one could only
access the direct instances)

What I would like is to operate something on all instances of a given
class.  I know that it's easy with the classes/subclasses (at least on
symbolics, there is an undocumented slot "direct-subclasses").

Thanks for your help.


Vincent Keunen
NRB