[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pcase bindings in patterns with complicated logic

From: Richard Stallman
Subject: Re: pcase bindings in patterns with complicated logic
Date: Fri, 19 Jan 2024 22:39:44 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > My question was whether cond* can be used to implement an equivalent
  > match as in my example above.

The `or' pattern should do that job.
In what way is it not sufficient?

                                  AFAIU, cond* cannot match against multiple
  > values at once.

With the natural meaning, yes it can.  Perhaps we are miscommunicating.
Could you explain what "match against multiple values at once" means to you?

Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]