AW: [squeak-dev] IdentitySet>>collect:

Frank Lesser frank-lesser at
Wed Nov 26 23:52:31 UTC 2014

Hi Tobias,
agree, a problem of "OrderedCollection"
not to break a lot of other things we could return an Array.
but for me collecting has priority.

-----Ursprüngliche Nachricht-----
Von: squeak-dev-bounces at
[mailto:squeak-dev-bounces at] Im Auftrag von Tobias
Gesendet: Donnerstag, 27. November 2014 00:48
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] IdentitySet>>collect:

On 27.11.2014, at 00:34, Frank Lesser <frank-lesser at>

> hmm, not convinced
> (IdentitySet withAll: #(1 1.0)) collect: [:e| e asInteger ]
> OrderedCollection(1 1 )
> in LSWVST ( one-to-one ), you collect results of evaluating a block on
> objects. 
> Frank
> maybe I am wrong ...

Where would the order come from for that _Ordered_Collection?


More information about the Squeak-dev mailing list