John Wiegley writes: >>>>>> Nicolas Petton writes: > >> stream.el is based on lazy form evaluation with memoization (which is >> exactly what you describe IIUC), that I didn't need to expose it so I kept >> it private to the library, see `stream--delay' and `stream-force': > >> https://github.com/NicolasPetton/stream/blob/master/stream.el#L62 > > What if you expose the lower-level API, and then make lazy streaming a useful > example. I.e., call your module "thunk.el" or "lazy.el". What if I extract it in a thunk.el library and install it in master (with proper tests), and have stream.el use that? (I could also put stream.el in Emacs, but Stefan thought it would be better to have it in ELPA). > I would have uses for such a library beyond streams of value: for example, > querying an external process for a tidbit of information, but abstracting this > interaction to appear as a "value" within a thunk. Yes, that would be really nice! Nico