Re: [Vala] Feature request: Syntactic sugar to map foo[index] to foo.get(index)
- From: Jürg Billeter <j bitron ch>
- To: "Dr. Michael Lauer" <mickey vanille-media de>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Feature request: Syntactic sugar to map foo[index] to foo.get(index)
- Date: Mon, 01 Mar 2010 13:17:18 +0100
On Mon, 2010-03-01 at 13:07 +0100, Dr. Michael Lauer wrote:
Am 01.03.2010 um 11:21 schrieb Frederik:
T get (int index) -> indexer access ('[index]')
What about the string lookup, i.e. gee's foo["bar"] ?
It's not limited to a single int parameter. The parameter can be of any
type, and you can even have multiple parameters (of mixed types).
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]