Dictionary>>collect: vs. Dictionary>>select: : why are theydifferent?

Brian T Rice water at tunes.org
Sat Nov 15 16:19:40 UTC 2003


On Sat, 15 Nov 2003, Ken Causey wrote:

> On Sat, 2003-11-15 at 08:59, Peter van Rooijen wrote:
> > Ned,
> >
> > I agree that it seems peculiar. Maybe it has to do with (not) having a
> > collection that does not care about order nor about duplicates (heap,
> > multi-set, I don't know a term for it that really evokes its properties).
>
> Perhaps I'm completely missing the point but doesn't this describe the
> 'Bag' class?

Close, but Bag forgets the original objects added beyond the first (when
they are =).

-- 
Brian T. Rice
LOGOS Research and Development
http://tunes.org/~water/



More information about the Squeak-dev mailing list