[Vala] Union two Iterators together?
- From: Shawn Ferris <shawn ferris gmail com>
- To: Vala-list <Vala-list gnome org>
- Subject: [Vala] Union two Iterators together?
- Date: Sun, 22 Jan 2012 15:03:03 -0700
Hey All -- Anyone have a clever way of union'ing two iterators
together. IE: the ability to loop through both in one fell swoop? Is
there syntactic sugar for this?
foreach ( int i in (set1, set2) ) {
...
}
I apologize if this is documented and I haven't come across it yet..
I'm still looking. I assume I'd be able to do it by creating an
iterator myself, though I don't quite have the picture of how it would
look yet..
Thanks!
Shawn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]