[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cond* vs pcase
From: |
Alfred M. Szmidt |
Subject: |
Re: cond* vs pcase |
Date: |
Tue, 06 Feb 2024 14:04:04 -0500 |
> > Because your not doing pattern matching, you're comparing against a
> > set of strings/symbols/numbers/....
>
> Simply because pattern matching is a more powerful generalisation,
> capable of expressing case-distinction; in the end it compiles down to
> almost the same code anyway.
>
> Are you suggesting that COND/CASE/... and other "trivial" matching
> constructs should be replaced with PCASE/COND*?
No, just that using pcase in these cases isn't wrong.
Then we disagree on a fundamental level. This is just like like using
EQUAL when comparing stricly strings is not the right tool for the
job.
- cond* vs pcase, Arthur Miller, 2024/02/05
- Re: cond* vs pcase, Eli Zaretskii, 2024/02/05
- Re: cond* vs pcase, Alfred M. Szmidt, 2024/02/05
- Re: cond* vs pcase, Philip Kaludercic, 2024/02/05
- Re: cond* vs pcase, Arthur Miller, 2024/02/06
- Re: cond* vs pcase, Alfred M. Szmidt, 2024/02/06
- RE: [External] : Re: cond* vs pcase, Drew Adams, 2024/02/06
- Re: cond* vs pcase, Philip Kaludercic, 2024/02/06
- Re: cond* vs pcase, Alfred M. Szmidt, 2024/02/06
- Re: cond* vs pcase, Philip Kaludercic, 2024/02/06
- Re: cond* vs pcase,
Alfred M. Szmidt <=
- Re: cond* vs pcase, Philip Kaludercic, 2024/02/06
- RE: [External] : Re: cond* vs pcase, Drew Adams, 2024/02/06
- RE: [External] : Re: cond* vs pcase, Drew Adams, 2024/02/06
- RE: [External] : Re: cond* vs pcase, Adam Porter, 2024/02/06
- RE: [External] : Re: cond* vs pcase, Drew Adams, 2024/02/06
- Re: [External] : Re: cond* vs pcase, Arthur Miller, 2024/02/07
- Re: [External] : Re: cond* vs pcase, Po Lu, 2024/02/07
- RE: [External] : Re: cond* vs pcase, Drew Adams, 2024/02/07
- Re: [External] : Re: cond* vs pcase, Tomas Hlavaty, 2024/02/07
- Re: [External] : Re: cond* vs pcase, Richard Stallman, 2024/02/08