I'm attaching a short texinfo file containing a couple of examples of using generators in Emacs Lisp. The texinfo manual contains one example which I found confusing in parts: 1. The example has a nested call to iter-yield -- not sure why 2. I still dont quite understand the purpose of the optional argument to iter-next, an example that leverages it would be good to have.