|
From: | Michael Heerdegen |
Subject: | Re: pcase on multiple conditions |
Date: | Fri, 28 Oct 2022 09:44:37 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
Jean Louis <bugs@gnu.support> writes: > * Heime <heimeborgia@protonmail.com> [2022-10-28 09:49]: > > Is this the way to test for two values to perform the same operation? > > > > (pcase complt > > > > ((or 3 4) > > > > (myfunc))) > > With `or' it will become true if any of values is true. `pcase' patterns are not values. Your interpretation of the semantics of this `or` pattern is wrong. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |