[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pcase on multiple conditions
From: |
Michael Heerdegen |
Subject: |
Re: pcase on multiple conditions |
Date: |
Fri, 28 Oct 2022 14:47:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Jean Louis <bugs@gnu.support> writes:
> (let ((my-number (read-number "Number: ")))
> (pcase my-number
> ((or 3 4) (message "Yes, it is 3 or 4"))
> (t (message "Not 3 or 4")))) ⇒ "Not 3 or 4" for entry of 5
>
> So why this does not work?
It doesn't?
Michael.
- pcase on multiple conditions, Heime, 2022/10/28
- Re: pcase on multiple conditions, Jean Louis, 2022/10/28
- Re: pcase on multiple conditions, Michael Heerdegen, 2022/10/28
- Re: pcase on multiple conditions, Jean Louis, 2022/10/28
- Re: pcase on multiple conditions,
Michael Heerdegen <=
- Re: pcase on multiple conditions, Stefan Monnier, 2022/10/28
- Re: pcase on multiple conditions, Emanuel Berg, 2022/10/30
- Re: pcase on multiple conditions, Jean Louis, 2022/10/30
- Re: pcase on multiple conditions, Emanuel Berg, 2022/10/30
Re: pcase on multiple conditions, Emanuel Berg, 2022/10/30