lua-users home
lua-l archive

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


Hi Luiz, All,

On 3/27/07, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
function makeset(t)
[...]
example = makeset{"foo", "bar", "baz"}

Yes, I've seen this suggestion already.

I assume the performance or memory use difference
isn't a big deal for almost all cases.

It's just that IMHO adding syntactic sugar would beatify
(in both meanings) the standard idiom for sets.

Regards,
Peter