🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.clos
Article #477

Finding all instances

#477
From: Vincent Keunen
Date: Wed, 03 Apr 1991 13:39
17 lines
1070 bytes
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
Technical Details
Message-ID: <19910403104448.6.KEUNEN@milou.nrb.be>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage
From: keunen@milou.nrb.be (Vincent Keunen)
Newsgroups: comp.lang.clos
Subject: Finding all instances
Message-ID: <19910403104448.6.KEUNEN@milou.nrb.be>
Date: 3 Apr 91 13:39:19 GMT
Sender: welch@tut.cis.ohio-state.edu
Distribution: inet
Organization: CommonLoops
Lines: 17