From: Trans Date: 2006-08-06T06:10:09+09:00 Subject: Re: Iterating over an array n element at a time Logan Capaldo wrote: > ( ) already have meaning in block arguments though > e.g.: > > { :a => 1, :b => 2 }.inject({}) { |h, (k, v)| h[k] = v + 1; h } > #=> {:b=>3, :a=>2} Right, but it seems to be similar in nature. Could it not be used for both? Otherwise another notation { |[x,y,z]| ... } perhaps. T.