Modifying prototypes

Todd Fleming todd at flemingcnc.com
Sun Nov 7 15:50:13 PST 2004


Nice approach; I looked at the implementation.

Todd

Lee Salzman wrote:

>P addProtectedSlot: #someSlot in: #traits valued: whateverValue.
>
>On Sun, Nov 07, 2004 at 05:50:22PM -0500, Todd Fleming wrote:
>  
>
>>Let's say I have a prototype P with some slots. Let's also say that P 
>>traits has several roles. I clone P several times. I discover that I 
>>need to add some more slots to P and some more roles to P traits that 
>>need those slots. Is there an easy way to add the slots to existing 
>>objects that delegate to P traits?
>>
>>Todd
>>    
>>




More information about the Slate mailing list