Support of algebraic operations on sets
Klaus D. Witzel
klaus.witzel at cobss.com
Fri Jun 15 17:17:12 UTC 2007
On Fri, 15 Jun 2007 19:02:52 +0200, sig <siguctua at gmail.com> wrote:
...
>>
>> You also might want to consider using
>>
>> Association subclass: #SigAssociation ...
>> SigAssociation methodsFor: 'comparision'
>> = argv
>> ^ super = argv and: [self value = argv value]
>>
>
> this code is exactly same as in current implementation in Association
> in my 3.8 image. Do things changed already? :)
Dammn, I always think there can be no such change since the Blue Book :|
> To what i propose is to be the following:
>
> SigAssociation methodsFor: 'comparision'
> = argv
> ^ key = argv key
>
This one is defininitely independent of any previous release.
/Klaus
More information about the Squeak-dev
mailing list
|