[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: RFE: table ctor syntax enhancement for many-to-one mappings
- From: Dirk Laurie <dpl@...>
- Date: Mon, 22 Aug 2011 11:13:47 +0200
On Mon, Aug 22, 2011 at 10:58:55AM +0200, Jerome Vuarand wrote:
> You can add to the cons list the fact that your proposal would
> conflict with another one, that is the use of several values (tuples?)
> as keys into tables.
This is a very acute comment.
Another example of Jerome's prophecy: sparse matrices.
A = { [1,1] = -2, [1,2] = 1, [2,2] = -4 }
Ons should look at Lorenzo's proposal in terms of semantics, not
syntax. It's still the same proposal in this form:
t = { a=b=c=very_long_name, d=e=f=complicated_expression }
Dirk