[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- 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 <dpl@sun.ac.za> 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.
Tony.
--
f.anthony.n.finch <dot@dotat.at> 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.