[Setools] Fwd: CALL FOR 3.9 Final changes

Damien Cassou damien.cassou at laposte.net
Sat Jul 8 10:08:33 UTC 2006


Alexandre Bergel wrote:
>> Alexandre Bergel wrote:
>>>> packagesNames :=
>>>>      (MCWorkingCopy allManagers
>>>>        asSortedCollection: [:a :b | a package name <= b package name ])
>>>>      collect: [:p| p package name].
>>>>
>>>>
>>>> can be shortened to:
>>>>
>>>> packagesNames := ((MCWorkingCopy allManagers)
>>>>                        collect: [:p| p package name])
>>>>                    asSortedCollection.
>>> The two expression are not equivalent. The second one gives a sorted 
>>> collection and not the first one.
>>
>>
>> You are right, I didn't noticed that. Is it a problem ?
> 
> Is it a problem to have the list ordered ?

This is my question. Is it a problem to get a SortedCollection for this 
menu ?


More information about the Setools mailing list