Bergi (2015-06-25T12:39:33.000Z)
d at domenic.me (2015-07-07T02:08:22.635Z)
Mark S. Miller schrieb: > Flatmap of generators can approximately be modeled in terms of "`yield*` wrap" So you have a signature of `Iterable<Generator<i, o, r>> -> Generator<i, o, r>` in mind, not a monadic `join`-like function that takes a generator? > flatMap([g1, g2]) is equivalent to Maybe it should be ```js (function*() { return [yield* wrap(g1, function.sent), yield* g2]; }()) ``` with `Iterable<Generator<i, o, r>> -> Generator<i, o, Iterable<r>>`?