Re: Multiple indexing (was: 'in' keyword today)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Multiple indexing (was: 'in' keyword today)
- From: Thomas Jericke <tjericke@...>
- Date: 2014年4月10日 13:45:14 +0200
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"]