From: Tony Arcieri Date: 2009-11-05T05:40:38+09:00 Subject: Re: Ruby doesn't implement x++ for Fixnum's because ??? --001636b2ad216ee7830477919f75 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Nov 4, 2009 at 11:21 AM, Paul Smith wrote: > a = 1 > > a.class #Fixnum > > a++ # a is now 2 > > 1.class #Fixnum > > 1++ # Illegal > > So although a is a Fixnum, and 1 is a Fixnum, they respond to ++ > differently? > Why would 1++ be illegal? I'd think it would just evaluate to 1. -- Tony Arcieri Medioh/Nagravision --001636b2ad216ee7830477919f75--