logoalt Hacker News

nly • today at 9:48 AM • 0 replies • view on HN

I'm not too familiar with generators. I've never really had much use for them. I've used co_yield once successfully to interleave two separate tree recursions in lock-step and I don't remember any issues.

It's also not at clear to me why you'd want to put a generator into a fifo. Any succinct code snippets that demonstrate the issue?