[squeak-dev] Re: Collection>>sum implementation

Paolo Bonzini bonzini at gnu.org
Mon Aug 11 16:21:24 UTC 2008


>> This method is called #fold: in VisualWorks, GNU Smalltalk and others.
>>
>> Paolo
> 
> Ah ok.  It's called reduce in python and Lisp, and that's also what
> Lukas named it in his package.

I think #fold: is the Haskell name (they have both foldl and foldr), but 
probably it comes from somewhere else.  Eliot should know...

Paolo



More information about the Squeak-dev mailing list