|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Symbols in array literals |
Date: | Sat, 24 Feb 2007 16:44:15 +0100 |
User-agent: | Thunderbird 1.5.0.9 (Macintosh/20061207) |
Mike Anderson wrote:
I would really like to be able to dispense with the # in front of symbols in array literals. In other words, I would like the following to be valid: #(1 two nil)
I'm not very happy about this. There's no reason, then, why #(nil) should answer nil rather than #nil. I can make it give a warning if you need compatibility, but I'd rather avoid fully backing the #(one two three) syntax.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |