[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Some enhancements in table initializations
- From: Geoff Leyland <geoff_leyland@...>
- Date: Tue, 21 Sep 2010 18:44:04 +1200
On 21/09/2010, at 6:37 PM, Jonathan Castello wrote:
> While not exactly about table initializations, one thing I've
> occasionally wanted was to be able to implicitly index the current
> environment. In a table you can do {[a + b] = c}, but it would be nice
> to be able to do [a + b] = c as a normal statement. Likewise with
> accessing: x = [y].
Wouldn't that cause ambiguous syntax problems? Would "a = b [c]:d()" be one or two statements?
Cheers,
Geoff