[squeak-dev] Re: Dictionary>>collect: returning OrderedCollection?
K. K. Subramaniam
subbukk at gmail.com
Mon Jun 16 14:27:35 UTC 2008
On Saturday 14 Jun 2008 11:50:27 pm nicolas cellier wrote:
> No, I mean Bag.
> Dictionary keys are a Set, but values don't have to be unique.
> If you have the blue book or a st80 available, check what values was
> originally returning.
Ha, I see what you mean. The values of a Dictionary are indeed a Bag.
I got confused because the original poster was expecting to retain the keys in
the result. Perhaps, I should cut down on my late night sessions :-).
Thank you for your patience,
Subbu
More information about the Squeak-dev
mailing list
|