[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: RFE: table ctor syntax enhancement for many-to-one mappings
- From: Tony Finch <dot@...>
- Date: Sat, 20 Aug 2011 22:04:49 +0100
Dirk Laurie <email@example.com> wrote:
> But Tony's implementation in current Lua is not too far behind
> (although I'm not overfond of the name `flatten_keys`:
Yes, names are hard :-)
> as is the similar idea with inverted tables:
Which is in fact what I started with before realising it was equally easy
to produce a syntax very similar to the original requirement.
f.anthony.n.finch <firstname.lastname@example.org> http://dotat.at/
Fair Isle: Southerly or southwesterly, 4 or 5 in east, 5 or 6 in west.
Moderate or rough, becoming very rough in west for a time. Occasional rain.
Good, occasionally poor.