In article <Pine.GSO.4.21.0103120953560.23732-100000 / explorer.ce.chalmers.se>,
Robert Feldt  <feldt / ce.chalmers.se> wrote:

>It works with all the following forms:
>  # Different forms for foldl and foldr
>  # [1,2,3,4].foldl(:+, 0)             => 10
>  # [1,2,3,4].foldl(:+)                => 10
>  # [1,2,3,4].foldl(0) {|a,b| a+b}     => 10
>  # [1,2,3,4].foldl {|a,b| a+b}        => 10
>  # [1,2,3,4].foldl(:+,0) {|a,b| a+b}  => ArgumentError
>

Fine, but did not we say at some stage that reduce might be a better name for
foldl?