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: tomas
Subject: Re: Closures - do you understand them well?
Date: Fri, 9 Dec 2022 05:38:47 +0100

On Fri, Dec 09, 2022 at 05:01:23AM +0100, Michael Heerdegen wrote:
> 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?

My gut reaction was such that the answer to Emanuel's question
would have been "it's the bindings".

But I may be wrong.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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