https://issues.dlang.org/show_bug.cgi?id=11880
--- Comment #6 from [email protected] --- (In reply to Vladimir Panteleev from comment #2) > As I understand, "yield" doesn't need to be a keyword - it can be > implemented as a language construct. The only limitation is that coroutines > need to be started explicitly (which I think this is a plus as it improves > readability). > > I suggest closing this as WONTFIX. Currently std.concurreny.Generator has a not nice usage syntax, it is not @nogc, not pure, not nothrow, and not safe, and it allocates too much memory, so it's kind of useless in the functional-style code where it's more useful, and for recursive generators. --
