[Seaside] GOODS best practice data storage

Avi Bryant avi at beta4.com
Fri May 21 21:36:19 CEST 2004


On May 21, 2004, at 12:20 PM, Avi Bryant wrote:

>> TreeSet>>bucket: anArray includes: anObject
>> 	^ (anArray detect: [:ea | (self value: anObject matches: ea)]
>> ifNone:[#()]) notEmpty.
>
> That's not right either - I would think it should be:
>
> ^ anArray anySatisfy: [:ea | (self value: anObject matches: ea)]
>
> I'm confused as to how it got the way it was, since as you say it 
> doesn't work at all with the current code.

Actually there were a couple of bugs in TreeSet - version 28 is now on 
SqueakMap and actually works.

Avi



More information about the Seaside mailing list