Re: [Vala] Is there a way to use the Vala coroutines to achieve the same effect as in the following Python snippet (coroutines returning partial results in an iterator-like way) ?

On Sat, Jul 09, 2011 at 09:01:42AM +0200, Serge Hulne wrote:
In the meantime, tried the "scanner" example (my last entry in the Vala
maling list with an iterator.

Of course, since the vala iterator returns one item at a time it does the

I've just published a generators example exploiting coroutines:

Use your fantasy before going down to conclusions :)

-- - The Universal Operating System

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]