[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.
- A generalization of `thunk-let' (was: `thunk-let'?), Michael Heerdegen, 2017/12/08
- Re: A generalization of `thunk-let', Stefan Monnier, 2017/12/08
- Re: A generalization of `thunk-let', Michael Heerdegen, 2017/12/09
- Re: A generalization of `thunk-let', Stefan Monnier, 2017/12/09
- Re: A generalization of `thunk-let', John Wiegley, 2017/12/10
- Re: A generalization of `thunk-let', Michael Heerdegen, 2017/12/12
- Re: A generalization of `thunk-let',
Michael Heerdegen <=
- Re: A generalization of `thunk-let', Stefan Monnier, 2017/12/13
- Re: A generalization of `thunk-let', Michael Heerdegen, 2017/12/13
Re: A generalization of `thunk-let' (was: `thunk-let'?), Richard Stallman, 2017/12/09