help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Closures - do you understand them well?


From: Michael Heerdegen
Subject: Re: Closures - do you understand them well?
Date: Fri, 09 Dec 2022 05:01:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Emanuel Berg <incal@dataswamp.org> writes:

> OK, so is it the closures? Or the loops?
>
> Or ... the lamdas?
>
> (setq x 111)
>
> (setq f (lambda () x))
>
> (funcall f)
>
> (setq x 222)
>
> (funcall f)

Maybe I'm too tired, but I don't understand the question.  What's "it"
in the first question?

Michael.




reply via email to

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