[Vala] Union two Iterators together?



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]