[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Syntactic sugar for sets
- From: "Peter Jacobi" <pjacobi.de@...>
- Date: Tue, 27 Mar 2007 14:32:35 +0200
Dear All,
Has it already been considered (and in that case rejected, I fear),
to add syntactic sugar for sets in table constructors?
I'd guess it is technically possible to handle
example = {
["foo"],
["bar"],
["baz"]
}
as an abbreviation for
example = {
["foo"] = true,
["bar"] = true,
["baz"] = true
}
Regards,
Peter