[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's missing in ELisp that makes people want to use cl-lib?
From: |
João Távora |
Subject: |
Re: What's missing in ELisp that makes people want to use cl-lib? |
Date: |
Sat, 11 Nov 2023 12:16:41 +0000 |
On Sat, Nov 11, 2023 at 1:23 AM Po Lu <luangruo@yahoo.com> wrote:
>
> Dmitry Gutov <dmitry@gutov.dev> writes:
>
> > Just to take this example, there are about 2 major bugs: 1) the list
> > will come out reversed, 2) the code does XOR rather than subtraction.
>
> Hmm, reading its doc string, I think a more illustrative name for
> cl-set-difference would be cl-set-complement.
No, it's called "set difference" in CL and in other languages for a reason:
https://proofwiki.org/wiki/Definition:Set_Difference
> If the order is significant (it seldom is),
You don't know that, of course.
> Or alternatively a local variable can be maintained holding
> the last cdr of the list, and insertion performed on that instead.
choo-choo!
João
- Re: What's missing in ELisp that makes people want to use cl-lib?, (continued)
- Re: What's missing in ELisp that makes people want to use cl-lib?, Michael Heerdegen, 2023/11/11
- Re: What's missing in ELisp that makes people want to use cl-lib?, Emanuel Berg, 2023/11/12
- Re: What's missing in ELisp that makes people want to use cl-lib?, Michael Heerdegen, 2023/11/12
- Re: What's missing in ELisp that makes people want to use cl-lib?, Emanuel Berg, 2023/11/12
- Re: What's missing in ELisp that makes people want to use cl-lib?, Michael Heerdegen, 2023/11/13
- Re: What's missing in ELisp that makes people want to use cl-lib?, João Távora, 2023/11/13
- Re: What's missing in ELisp that makes people want to use cl-lib?, Emanuel Berg, 2023/11/16
- Re: What's missing in ELisp that makes people want to use cl-lib?,
João Távora <=
- Re: What's missing in ELisp that makes people want to use cl-lib?, Po Lu, 2023/11/11
- Re: What's missing in ELisp that makes people want to use cl-lib?, Po Lu, 2023/11/09
- Re: What's missing in ELisp that makes people want to use cl-lib?, Gerd Möllmann, 2023/11/10
- Re: What's missing in ELisp that makes people want to use cl-lib?, Po Lu, 2023/11/10
- Re: What's missing in ELisp that makes people want to use cl-lib?, João Távora, 2023/11/10
- Re: What's missing in ELisp that makes people want to use cl-lib?, Po Lu, 2023/11/10
- Re: What's missing in ELisp that makes people want to use cl-lib?, Gerd Möllmann, 2023/11/10
- Re: What's missing in ELisp that makes people want to use cl-lib?, Po Lu, 2023/11/10
- Re: What's missing in ELisp that makes people want to use cl-lib?, Gerd Möllmann, 2023/11/11
- Re: What's missing in ELisp that makes people want to use cl-lib?, Po Lu, 2023/11/11