RE: Syntactic sugar for sets
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: RE: Syntactic sugar for sets
- From: "Jerome Vuarand" <jerome.vuarand@...>
- Date: 2007年3月27日 15:35:07 -0400
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 :-)