emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] New library stream.el in ELPA


From: John Wiegley
Subject: Re: [ANN] New library stream.el in ELPA
Date: Wed, 14 Oct 2015 09:40:20 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)

>>>>> Nicolas Petton <address@hidden> 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".

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.

John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]