[Setools] Fwd: CALL FOR 3.9 Final changes
Damien Cassou
damien.cassou at laposte.net
Fri Jul 7 17:25:15 UTC 2006
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 ?
More information about the Setools
mailing list