[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Syntactic sugar for sets
- From: "Peter Jacobi" <pjacobi.de@...>
- Date: Tue, 27 Mar 2007 21:30:35 +0200
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