Stream generators (original) (raw)

Remi Forax forax at univ-mlv.fr
Sat Dec 1 05:48:27 PST 2012


On 12/01/2012 02:43 PM, Brian Goetz wrote:

The issue of creating your own streams via merging is tricky because we're missing the language features (yield, laziness) that tend to make that easy. You can iterate the contents of a Stream with Iterator; you can create a new Stream by creating an Iterator. Writing Iterators by hand is unpleasant.

yield is just at the gate. There is a patch in the mlvm repo waiting for some love.

Rémi



More information about the lambda-libs-spec-experts mailing list