lua-users home
lua-l archive

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


Roberto Ierusalimschy wrote Fri May 4, 2001  12:32 pm:

>Now, every place that accepts a list of expressions will also accept 
a list 
>of return values from the last expression. (And "compress(f(x))" will 
be 
>simply "{f(x)}".) 

>We are also thinking about the proposal (by ET, I guess) of using 
"(exp)"
>as a way to force "exp" to have exactly one value, so that {(f(x))} 
will
>always create a list with exactly one element.

IMHO, {{f(x)}} is easier and more clearly than {(f(x))} .

V.D.