[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Closures - do you understand them well?
From: |
Stefan Monnier |
Subject: |
Re: Closures - do you understand them well? |
Date: |
Thu, 08 Dec 2022 17:00:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>> In ELisp, both `dotimes` and `dolist` create a new binding for `i` at
>> each iteration of the loop.
> This is probably what most people expect from a loop.
I find this behavior cleaner, indeed (which is why I changed `dotimes`
and `dolist` to provide that behavior :-).
> `cl-loop' doesn't.
Indeed, when I looked at it, I decided it was too much trouble figuring
out how to change `cl-loop` to provide that behavior :-(
IMO `cl-loop` is too complex for its own good.
Stefan
- RE: [External] : Closures - do you understand them well?, (continued)
- RE: [External] : Closures - do you understand them well?, Drew Adams, 2022/12/08
- RE: [External] : Closures - do you understand them well?, Drew Adams, 2022/12/08
- Re: [External] : Closures - do you understand them well?, Michael Heerdegen, 2022/12/08
- RE: [External] : Closures - do you understand them well?, Drew Adams, 2022/12/08
- Re: [External] : Closures - do you understand them well?, Emanuel Berg, 2022/12/10
- RE: [External] : Closures - do you understand them well?, Drew Adams, 2022/12/08
Re: Closures - do you understand them well?, Tassilo Horn, 2022/12/08
- Re: Closures - do you understand them well?, Michael Heerdegen, 2022/12/08
- Re: Closures - do you understand them well?, Stefan Monnier, 2022/12/08
- Re: Closures - do you understand them well?, Michael Heerdegen, 2022/12/08
- Re: Closures - do you understand them well?,
Stefan Monnier <=
- RE: [External] : Re: Closures - do you understand them well?, Drew Adams, 2022/12/08
- Re: [External] : Re: Closures - do you understand them well?, Stefan Monnier, 2022/12/08
- Re: [External] : Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/10
- RE: [External] : Re: Closures - do you understand them well?, Tomas Hlavaty, 2022/12/09
- Re: [External] : Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/10
Re: [External] : Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/10
RE: [External] : Re: Closures - do you understand them well?, Drew Adams, 2022/12/10
Re: [External] : Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/15
Re: Closures - do you understand them well?, tomas, 2022/12/08
Re: Closures - do you understand them well?, Michael Heerdegen, 2022/12/09