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

Re: who makes class-prototype

The purpose of the class-prototype of a class is to act as a
prototypical instance.  This is typically used at the Meta PCL level.
For example, DEFCLASS and friends use the CLASS-PROTOTYPE of the
metaclass of the class being defined. (Could/should a metaclass use
itself as its prototype?)

Make-instance (or MKI in PCL) makes a new fresh (non EQ to anything
else) instance.  This is what one should normally use for creating

Perhaps CLOS, like other specs is a bit weak on how the pieces of the
puzzle are expected to fit together.  

Hope this helps.