lua-users home
lua-l archive

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


Peter Jacobi wrote:
> On 3/27/07, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>
> wrote: 
>> function makeset(t)
> [...]
>> example = makeset{"foo", "bar", "baz"}
> 
> [...]
> 
> It's just that IMHO adding syntactic sugar would beatify (in both
> meanings) the standard idiom for sets. 

If it's a simple syntax modification and it's easily implemented with
existing syntax, it's a job for token filters :-)