[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cl-loop - do you understand it well?
From: |
Emanuel Berg |
Subject: |
Re: cl-loop - do you understand it well? |
Date: |
Sat, 17 Dec 2022 01:02:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Stefan Monnier via Users list for the GNU Emacs text editor wrote:
>> (require 'cl-lib)
>>
>> (cl-loop
>> for i from 0 to 1
>> collect (lambda () i) into funs
>> finally return (apply #'+ (mapcar #'funcall funs)) )
>
> That's because you chose "0 to 1". To get the *real* answer,
> you need to do "1 to 6", of course.
I don't have to check that ... 42.
--
underground experts united
https://dataswamp.org/~incal
- Re: cl-loop - do you understand it well?, (continued)
- Re: cl-loop - do you understand it well?, Michael Heerdegen, 2022/12/10
- Re: cl-loop - do you understand it well?, Akib Azmain Turja, 2022/12/10
- Re: cl-loop - do you understand it well?, tomas, 2022/12/10
- Re: cl-loop - do you understand it well?, Michael Heerdegen, 2022/12/10
- Re: cl-loop - do you understand it well?, Akib Azmain Turja, 2022/12/11
- Re: cl-loop - do you understand it well?, Stefan Monnier, 2022/12/11
- Re: cl-loop - do you understand it well?, Akib Azmain Turja, 2022/12/12
- Re: cl-loop - do you understand it well?, Michael Heerdegen, 2022/12/11
- Re: cl-loop - do you understand it well?, Emanuel Berg, 2022/12/15
- Re: cl-loop - do you understand it well?, Stefan Monnier, 2022/12/15
- Re: cl-loop - do you understand it well?,
Emanuel Berg <=
- Re: cl-loop - do you understand it well?, Michael Heerdegen, 2022/12/15
- Re: cl-loop - do you understand it well?, Emanuel Berg, 2022/12/17
- Re: cl-loop - do you understand it well?, Michael Heerdegen, 2022/12/17
- Re: cl-loop - do you understand it well?, Emanuel Berg, 2022/12/20
- Re: cl-loop - do you understand it well?, Michael Heerdegen, 2022/12/21