Stéphane Ducasse <stephane.duca...@...> writes:

> here are the collection extensions we use in Moose. I copied them to
> PharoTaskForces so that we can discuss and tweak the code if wanted.

Just missed #collectAsSet: and #groupedBy: yesterday :) Given that I have
 written all of these extensions (except #copyEmpty: and #groupedBy: which are
 provided by VW as far I recall) I am of course baised, but also pleased to
 see them being used and possibly included in Pharo.

There is also a #trasitiveClosure: extensions, which was ported by Oscar
 already, see http://www.squeaksource.com/CodePhoo but with different
 semantics than in the original Codefoo.

An (incomplete) documentation of Codefoo can be found here
 http://scg.unibe.ch/staff/adriankuhn/codefoo

NB: #shuffle: does not produce all permutations with the same likelihood! It
 should be changed. I can provide the correct implementation. Also then,
 #shuffle: times should be removed. That is nonsense, a broken shuffle does
 no get better the longer you shuffle :)

cheers, 
AA


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to