From: Yukihiro Matsumoto Date: 2008-03-31T15:28:45+09:00 Subject: Re: inject's pathological case... Hi, In message "Re: inject's pathological case..." on Mon, 31 Mar 2008 00:27:58 +0900, "David A. Black" writes: |> AFAIK, Matz correct me if I'm wrong, Ruby got the name inject from |> Smalltalk, along with collect, select, detect and several other |> methods. The other three I mention have alias, map for collect, |> find_all for select, and find for detect, but inject is still just |> inject in Ruby. | |It picks up the synonym "reduce" in 1.9 -- which I think is kind of |too bad, since inject in Ruby has such a distinctive personality and |cult following :-) reduce, fold, foldl; these are some of the candidates. But I think I have to wait for consensus for a while. matz.