I wrote up my talk as a blog. Hopefully the bit I rushed at the end makes a bit more sense in here. The code samples have a bit more context given the extra space afforded by an article. https://grumpyhacker.com/generating-generators/