ok, thanks, will do that. just didn;t want to reinvent the wheel... andrew
On Sunday, 16 February 2014 21:00:13 UTC-3, andrew cooke wrote: > > i need to pass an array to a function that is expecting a Task (and which > repeatedly calls consume(...) on the argument). is there a standard way of > converting an array to a generator? seems like this should be easy and > something i've done before, but i'm stuck (obviously i can write my own > little wrapper, but i assume there's a neat way to do this). > > thanks, andrew > >
