[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cl-loop - do you understand it well?
From: |
Akib Azmain Turja |
Subject: |
Re: cl-loop - do you understand it well? |
Date: |
Sun, 11 Dec 2022 01:00:41 +0600 |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Emanuel Berg <incal@dataswamp.org> writes:
>
>> So what is this eval'd to - an why?
>
> The answer to the question in the subject is easier: No!
>
>
>> Hint: All and any method is allowed!
>>
>> ;;; -*- lexical-binding: t -*-
>>
>> (require 'cl-lib)
>>
>> (cl-loop
>> for i from 0 to 1
>> collect (lambda () i) into funs
>> finally return (apply #'+ (mapcar #'funcall funs)) )
Somehow, the code doesn't make any sense to me. What it's supposed to
achieve?
>
> Any method? I would like to test it with Emacs 31. Would it make a
Where did you get "Emacs 31"? ;)
> difference?
>
> Honestly: Do the cl-loop fans think we should change the behavior?
>
>
> Michael.
>
>
--
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."
signature.asc
Description: PGP signature
- cl-loop - do you understand it well?, Emanuel Berg, 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 <=
- 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, 2022/12/17
- Re: cl-loop - do you understand it well?, Michael Heerdegen, 2022/12/15