[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Instead of pcase
From: |
Richard Stallman |
Subject: |
Re: Instead of pcase |
Date: |
Sun, 07 Jan 2024 22:47:24 -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. ]]]
> > I wonder why people defined `xor'. It can't be used
> > as a conditional, like `and' and `or', so what is the point of it?
> `xor' can be used as conditional
Perhaps we are miscommunicating.
`or' and `and' can act as conditionals. (and X Y) says to
do Y if X is true. (or X Y) says to do Y if X is false.
That is why those constructs are useful.
`xor' can'e be used as a conditional, because all of the arguments of
`xor' must always be evaluatedd.
--
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)