emacs-devel
[Top][All Lists]
Advanced

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

Re: combining cond and let, to replace pcase.


From: Richard Stallman
Subject: Re: combining cond and let, to replace pcase.
Date: Tue, 28 Nov 2023 22:40:01 -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. ]]]

  > > This form of clause should bind the variables unconditionally.  If
  > > matching provides a value to give a certain variable, the variable
  > > should get that value.  Otherwise it should be bound to nil.

  > So these form of :match clause would bind variables even though it did
  > not match?  That seems counter-intuitive to me.

Since it makes the bindings unconditionally, it has to make the same
bindings whether matching fully succeeds or not.  I don't see any other
alternative -- what could there be?

-- 
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]