Hi,
In message "[ruby-talk:13227] -100.abs"
on 01/03/27, Roy Patrick Tan <rtan / vt.edu> writes:
|I am guessing that -100 is treated as a single integer literal rather
|than an integer for which a minus operator has to be applied. Am I
|correct? If so, does this not pose a readability problem?
Yes. It's compromise between yacc rules and naturalness (for me at
least).
matz.