Michael Heerdegen writes: > Hello, Hi Michael, > attached (at the end) is a patch for stream.el adding two things: (1) a > new macro `stream-delay' and (2) a function `stream-of-directory-files' > returning streams of directory files, optionally recursively. > Especially in the recursive case, a stream of directory files is better > to handle than a list: since it's delayed, it just encapsulates a > directory search to do. No huge list needs to be accumulated; you can > stop when you have found what you have searched for, resume searching > later, etc. - just as with any stream. It looks really good, thank you! Would you mind adding tests for `stream-delay' and `stream-of-directory-files'? (A regression test for the stream implementation of `seq-copy' would be great too!) Thanks again, Nico