🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.clos
Article #563

Best way to set class slots

#563
From: tar
Date: Wed, 16 Dec 1992 02:05
23 lines
1560 bytes
 > Whatever documentation you are referring to can't really apply to
 > shared slots, as they are not "on" the prototype instance;  you are 
 > only using the instance to gain access to the shared slot, which is 
 > probably stored "out there, somewhere."

That's what I would have thought, but this is not true across all
implementations.  The TI Explorer's class prototype doesn't exhibit
this behavior.  Apparently until an instance is initialized, it
doesn't have values even for its class allocated slots!  Bizarre, but
true.  (OK, so TI Lisp is not really up-to-date, but we need to
support that platform).

This observation does bring up a related question:  Does calling
CLASS-PROTOTYPE on a class force the class to finalize?

- Tom

The documentation is from Gregor's AMOP book.  It also says that the
instance returned by CLASS-PROTOTYPE may or may not be initialized.


Thomas A. Russ                                             tar@isi.edu    
USC/ISI, 4676 Admiralty Way, Marina del Rey, CA 90292      (310) 822-1511
Technical Details
Message-ID: <199212161805.AA03749@grover.isi.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!caen!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!isi.edu!tar
References: <9212160738.AA06763@kuwait.lucid>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.clos
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!caen!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!isi.edu!tar
From: tar@isi.edu
Subject: Best way to set class slots
Message-ID: <199212161805.AA03749@grover.isi.edu>
Sender: daemon@cis.ohio-state.edu
Reply-To: tar@ISI.EDU
Organization: The Ohio State University Department of Computer and Information Science
References: <9212160738.AA06763@kuwait.lucid>
Date: Wed, 16 Dec 1992 02:05:25 GMT
Lines: 23