emacs-devel
[Top][All Lists]
Advanced

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

Re: A generalization of `thunk-let'


From: Michael Heerdegen
Subject: Re: A generalization of `thunk-let'
Date: Wed, 13 Dec 2017 14:52:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Hi,

> here is a proof of concept.  It is not exactly what you suggested: you
> have to declare dependencies explicitly (I think this would even make
> code better readable).  But dependencies do not need to be sscells - I
> made it so that dependencies can be arbitrary expressions (this includes
> variables as major case), and an equivalence predicate for testing can
> be optionally specified, defaulting to #'eq.
>
> You can make an sscell B depend on the value of sscell A by making B
> depend on the expression (sscell-get A).
>
> These sscell objects are a generalization of thunks as in thunk.el, and
> sscell-let is a generalization of thunk-let.

Stefan, would you be ok with that approach? (or please speak before I do
the final work and put it to Gnu Elpa...)


Thanks,

Michael.



reply via email to

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