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: Fri, 24 Nov 2023 21:59:22 -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. ]]]

  > And a minor nitpick, I think it would be better to rename 'match-bind'
  > to 'match-let', to mirror other macros like 'if-let' (maybe even change
  > ':bind' to ':let').

I am not sure.  `if-let' uses a list of variables, similar to (but not
identical to) what `let*' uses.  `match-bind' uses a patter to control
which variables to bind.  I think that dissimilar names will make this
clearer than similar names would do.
-- 
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]