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

[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: Mon, 19 Dec 2022 21:36:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Michael Heerdegen wrote:

>   (cl-block nil
>     (let* ((i 0)
>            (funs nil))
>       (while (<= i 1)
>         (setq funs (nconc funs (list (lambda nil i))))
>         (setq i (+ i 1)))
>       (apply #'+ (mapcar #'funcall funs))))
>
> Nearly the same code as we had discussed. But I guess this
> was all clear to you (or not?).

No, where does the 4 come from?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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