On 14-Mar-08, at 9:25 AM, Trans wrote:

>> It might be useful in some cases as an optimization. For instance in
>> Integer:
>>
>>  def succ(n=1)
>>    self + n
>>  end

Could you elaborate on how this is an optimization? This functionality  
seems to directly contradict the documented purpose of succ()/next()  
so I'm not a fan of changing it as-is.

However I can see a use for this functionality as an additional method  
on the Integer class, perhaps as step()

     class Integer
         def step(n=1)
              self + n
          end

     end

Regards
Chris