From: "Hal E. Fulton" Date: 2002-11-19T06:42:16+09:00 Subject: Re: ruby-dev summary 18711-18810 ----- Original Message ----- From: To: "ruby-talk ML" Sent: Monday, November 18, 2002 9:19 AM Subject: Re: ruby-dev summary 18711-18810 > Hi -- > > On Mon, 18 Nov 2002, Yukihiro Matsumoto wrote: > > > Hi, > > > > In message "Re: ruby-dev summary 18711-18810" > > on 02/11/18, dblack@candle.superlink.net writes: > > > > |Do you mean that map_with_index has been rejected on its own, or just > > |as a zip implementation? > > > > map_with_index was rejected just because no one proposed its typical > > usage. YANGI principle applied. > > Hmmmm.... I'll try to think of some examples. It certainly seems to > me to be at least as useful as each_with_index, potentially (i.e., if > it existed :-) I'd go so far as to say that map_with_index does for map exactly what each_with_index does for each. I do find it useful. It's used in scanf, David, isn't it? :) Hal