From: Sam S. <sd...@gn...> - 2004-03-24 14:17:10
|
> * Bruno Haible <oe...@py...t> [2004-03-23 19:51:47 +0100]: > > But we need them only up to the version for which an instance exists > at all. So I'll turn the class-id into a real object that is pointed > to by the instance, and then the class-id will be GCed automatically > when all its instances have been updated or garbage-collected. indeed, making it point to the next definition should fix it. this will take care of PREVIOUS-DEFINITION slot also. WARNING: I think I wanted to do that originally, but I encountered some problems on this way. I don't recall what the problems were... >> I think this is a good indicator for the user that the class has >> actually been redefined. > > Why would the user need an explicit confirmation of this? Do we print > function objects differently after a DEFUN replaced them? Do we print > conses differently after SETF CDR ? OK. >> BTW, while you are at it, could you please relax the EQUAL-SLOTS >> check? it should trigger instance obsolescence only when the slot >> set has changed! > > OK, I put it on my CLOS todo list. thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.honestreporting.com> Computers are like air conditioners: they don't work with open windows! |