[self-interest] Is there something in SELF like "become" in smalltalk?

David Ungar ungar at me.com
Sat Jan 11 02:09:34 UTC 2014


Yes, and also _DefineSlots: pre-mirror.


On Jan 10, 2014, at 3:23 PM, Russell Allen <mail at russell-allen.com> wrote:

> 
> On 11 Jan 2014, at 4:19 am, Michael Paap <michael at mpaap.de> wrote:
>>> Yes, Self has a one-way become: it redirects all references to one
>>> object to a clone of the other.
>> 
>> Could you tell me, please, where I can find this message? I searches in 
>> the defaultBehaviour slot of the lobby, but it seems to be somewhere 
>> better hidden.
> 
> Hi Michael,
> 
> I think the message David is referring to is 'define:' (and 'define:IfFail:') and its at the reflection level. Have a look at 'traits mirrors abstractMirror' in the 'programming'/'replacing one object with another' categories.
> 
> Cheers, Russell
> 
>> 
>> Greetings,
>> Michael
>> 
>> 
>> ------------------------------------
>> 
>> Yahoo Groups Links
>> 
>> 
>> 
> 
> 
> 
> ------------------------------------
> 
> Yahoo Groups Links
> 
> 
> 




More information about the Self-interest mailing list