lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

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 }