lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 04/10/2014 09:38 AM, steve donovan wrote:
It's a little awkward with string keys : t["one","two"], but not awful.

Let's assume you could use the proposed "in" syntax for string keys:

Currently we have

t["one"]
and
t.one -> t["one"]

Additionally there would be:
t["one", "two"]
and
one, two in t -> t["one", "two"]