[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Instead of pcase
From: |
Stefan Monnier |
Subject: |
Re: Instead of pcase |
Date: |
Fri, 24 Nov 2023 23:23:49 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> I agree that once you introduce guards/predicates, pcase gets ugly fast,
Yeah, it's also my experience (tho a single `pred` is usually OK as long as you
don't also need to bind the value, thus forcing you into the ugly
`(and (pred PRED) VAR)` thingy).
I have toyed with the idea of providing the guards separately from the
patterns, but not enough to find something satisfactory.
Stefan
- Re: Instead of pcase, (continued)
- Re: Instead of pcase, Michael Heerdegen, 2023/11/17
- Re: Instead of pcase, Dmitry Gutov, 2023/11/16
- Re: Instead of pcase, T.V Raman, 2023/11/16
- Re: Instead of pcase, Philip Kaludercic, 2023/11/16
- Re: Instead of pcase, T.V Raman, 2023/11/16
- Re: Instead of pcase, Richard Stallman, 2023/11/17
- Re: Instead of pcase, Michael Heerdegen, 2023/11/19
- Re: Instead of pcase, Barry Fishman, 2023/11/19
- Re: Instead of pcase, Dmitry Gutov, 2023/11/19
- Re: Instead of pcase, Eric Abrahamsen, 2023/11/19
- Re: Instead of pcase,
Stefan Monnier <=
- Re: Instead of pcase, Richard Stallman, 2023/11/26
- Re: Instead of pcase, Barry Fishman, 2023/11/19
- Re: Instead of pcase, Dmitry Gutov, 2023/11/19
- Re: Instead of pcase, Michael Heerdegen, 2023/11/20
- Re: Instead of pcase, Richard Stallman, 2023/11/22
- Re: Instead of pcase, Dmitry Gutov, 2023/11/24
- Re: Instead of pcase, Richard Stallman, 2023/11/26
- Re: Instead of pcase, Dmitry Gutov, 2023/11/27
- Re: Instead of pcase, Richard Stallman, 2023/11/28
- Re: Instead of pcase, Dmitry Gutov, 2023/11/29