From: Robert Feldt Date: 2001-03-12T23:55:36+09:00 Subject: [ruby-talk:12498] Re: Haskell goodies, RCR and challenge On Mon, 12 Mar 2001, Jean Michel wrote: > Fine, but did not we say at some stage that reduce might be a better name for > foldl? > I think its like this: In functional programming: foldl is left-associative, foldr is right-associative, reduce is unspecified-associative (the order is not specified so might be determined by abstract machine, done in parallel etc) In Smalltalk: inject for foldl Ruby have adopted the Smalltalk inject in 1.7.0. BTW, if we change init to front then maybe tail should be back? /Robert