On Mar 14, 2006, at 5:54 PM, [EMAIL PROTECTED] wrote: > The above example illustrates exactly why general expressions aren't > allowed as the "operand" for the class keyword. There'd be an > ambiguity around: > > class SomeConstant < some_expression > end
Ah! Yes. That funny thing over my head is a light bulb. Thanks for pointing out that which is now entirely obvious. I wonder what syntax a language designer would come up with if they weren't limited to ASCII punctuation. Sometimes I think we overload the limited punctuation in ASCII beyond its carrying capacity. Gary Wright _______________________________________________ Rubygrammar-grammarians mailing list [email protected] http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians
