[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: who makes class-prototype
- To: Aaron Larson <alarson@ALTURA.HONEYWELL.COM>
- Subject: Re: who makes class-prototype
- From: kanderso@PEBBLES.BBN.COM
- Date: Mon, 15 Aug 88 15:00:27 -0400
- Cc: commonloops.pa@Xerox.COM
- In-reply-to: Your message of Fri, 12 Aug 88 19:01:22 -0500. <8808130001.AA13744@pavo.src.honeywell.com>
- Redistributed: commonloops.pa
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
instances.
Perhaps CLOS, like other specs is a bit weak on how the pieces of the
puzzle are expected to fit together.
Hope this helps.
k