Re: Gee Functional iterators
- From: Martin DeMello <martindemello gmail com>
- To: "Didier 'Ptitjes'" <ptitjes free fr>
- Cc: libgee-list gnome org
- Subject: Re: Gee Functional iterators
- Date: Wed, 14 Jul 2010 00:36:43 +0530
On Tue, Jul 13, 2010 at 11:58 PM, Didier 'Ptitjes' <ptitjes free fr> wrote:
> There is already language support for tupples in Dova profile and there
> is great chance it comes one day to the GLib profile. So an iterator
> could return a Tupple, and you could do:
>
> foreach (var (i, e) in iterator.indexed()) {
> // do whatever with i and e
> }
Nice! Would help the Hash iterators too.
martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]