[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: |
Mon, 12 Dec 2022 07:09:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
tomas@tuxteam.de writes:
> > The expansion of (push `(lambda () ,i) funs) is
> ^^^
> It was the "poor human's closure" in pre-lexical times,
> after all.
I wonder if that's a reason why lambda expressions where originally made
to be treated as functions.
> > #+begin_src emacs-lisp
> > (setq funs
> > (cons
> > (list 'lambda nil i)
> > funs))
> > #+end_src
>
> Yes, the binding of i is effective before the lambda
> expression is "compiled" (whatever that means when you
> are playing interpreter, but it still means something,
> no?)
That's a somewhat quite meta question - but it very probably does mean
something (at least I know what you mean...)
Michael.
- Re: Closures - do you understand them well?, (continued)
- Re: Closures - do you understand them well?, tomas, 2022/12/08
- Re: Closures - do you understand them well?, Michael Heerdegen, 2022/12/09
- Re: Closures - do you understand them well?, tomas, 2022/12/09
- Re: Closures - do you understand them well?, Tassilo Horn, 2022/12/09
- Re: Closures - do you understand them well?, Michael Heerdegen, 2022/12/09
- Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/10
- Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/10
- Re: Closures - do you understand them well?, tomas, 2022/12/10
- Re: Closures - do you understand them well?, Michael Heerdegen, 2022/12/11
- Re: Closures - do you understand them well?, tomas, 2022/12/12
- Re: Closures - do you understand them well?,
Michael Heerdegen <=
- Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/22
- Re: Closures - do you understand them well?, tomas, 2022/12/23
- Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/10
- Re: Closures - do you understand them well?, Michael Heerdegen, 2022/12/09
- Re: Closures - do you understand them well?, Tassilo Horn, 2022/12/10
- Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/10
- Mutation - do you understand it really? (was: Closures - do you understand them well?), Stefan Monnier, 2022/12/10
- Re: Mutation - do you understand it really?, Michael Heerdegen, 2022/12/10
- Re: Closures - do you understand them well?, Michael Heerdegen, 2022/12/10
- Re: Closures - do you understand them well?, Tassilo Horn, 2022/12/11