Seebs wrote:
> On 2009-11-09, Tony Arcieri <tony / medioh.com> wrote:
>> The only reasons it's impossible are cultural, not technical.  If you think
>> there's a valid technical reason why it's "impossible" to implement perhaps
>> you'd care to state it.
> 
> It's impossible to implement as a method.  You could introduce it as
> syntactic sugar, but it's not so clear that this would be worth the
> trouble.  In particular, incrementing is inefficient in Ruby because
> it would involve creating many new objects to iterate.
> 
> -s

http://jicksta.com/posts/superators-add-new-operators-to-ruby
Well, with -that-, we definitely can add '++' as syntactic sugar for 
succ.

I'm sorry? I'm beating a what? I can't hear you, there's too many flies 
buzzing around the carcass.
-- 
Posted via http://www.ruby-forum.com/.