[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to add a new slot-option
- To: Owners-CommonLoops.PA@Xerox.COM
- Subject: Re: How to add a new slot-option
- From: kanderso@DINO.BBN.COM
- Date: Wed, 17 May 89 13:05:10 -0400
- Cc: CommonLoops.PA@Xerox.COM
- In-reply-to: Your message of Tue, 16 May 89 17:26:36 -0700. <8905170026.AA06874@blackcomb.arpa>
- Redistributed: CommonLoops.PA
- Reply-to: <Owners-CommonLoops.PA@Xerox.COM>
To add a new slot-option:
1. Write a metaclasps that provides:
a legal-class-option-p :around method
a parse-class-slot :primary method
2. Define a new class of slot-discription that contains what you need.
An alternative to retrieving the weight, might be to look it up in an
:AFTER INITIALIZE-INSTANCEif it isn't slot-bound. Would that be
satisfactory?