Michael Heerdegen writes: > That depends on whether you want/need to keep the matches so far. If > you don't need to save prior matches, you can just > > (setq stream (stream-cdr stream)) > > after generating an element, and memory usage will be O(1). (Note to > Nicolas: a `stream-pop' function would be nice in this context). Indeed! Could I by any chance get another pull request from you on GitHub? Nico