On 21.07.2010, at 18:27, Lukas Renggli wrote: > See <http://code.google.com/p/pharo/issues/detail?id=2401>. Looks like > it never got merged though. > The test case for it is a really really nice one. Remembers what is different in smalltalk and smalltalk developers:
array := Array with: Color red with: Color green with: Color blue. self assert: (array reduce:[:a :b| a + b]) = Color white. I like this so much. thanks, Norbert > Lukas > > On 21 July 2010 18:20, Stéphane Ducasse <[email protected]> wrote: >> hi lukas >> >> I thought that we introduced the equivalent when we were pair programming at >> my place. >> fold: got introduced in squeak and may be your implementation/API should be >> pushed there? >> Stef >> >> _______________________________________________ >> Pharo-project mailing list >> [email protected] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > > > -- > Lukas Renggli > www.lukas-renggli.ch > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
