[Seaside-dev] GROrderedMultiMap >> #keysDo:

Philippe Marschall philippe.marschall at gmail.com
Thu Jul 7 19:01:18 UTC 2011


Hi

I have run into an "issue" with GROrderedMultiMap and iteration. The
block passed to it is evaluated for every mapping.

given an GROrderedMultiMap

GROrderedMultiMap new
  at: '1' add: 'first';
  at: '2' add: 'second';
  at: '1' add: 'third';
  yourself

#keysDo: will be evaluated with '1', '2' and '1' again. I didn't
expect the last one. Is this the expected behavior?


Cheers
Philippe


More information about the seaside-dev mailing list