[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Closures - do you understand them well?
From: |
Emanuel Berg |
Subject: |
Re: Closures - do you understand them well? |
Date: |
Thu, 08 Dec 2022 21:11:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eric Abrahamsen wrote:
> I lost! I really thought that with lexical-binding non-nil
> it would do what I expected. I guess this is why I try not
> to use closures.
Oh, use them! They are very useful :)
I understand the two use cases I've found (share access to
variables between functions, persistent values in variables
between function calls) and it works well for those.
Example with both those:
https://dataswamp.org/~incal/emacs-init/w3m/w3m-survivor.el
But I'd like to understand this riddle as well ...
--
underground experts united
https://dataswamp.org/~incal
Re: Closures - do you understand them well?, Eric Abrahamsen, 2022/12/08
Re: Closures - do you understand them well?,
Emanuel Berg <=