emacs-devel
[Top][All Lists]
Advanced

[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: Fri, 01 Dec 2023 22:21:12 -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. ]]]

  > certain structure, and then in the matcher, to deconstruct the structure 
  > and create a set of variable bindings.

I think I posted the translations I came up with.  But I can't
recall after this long whether there was any additional repetition.

  > This repetition both adds verbosity and increases the chance to make a 
  > mistake in one of the two places.

If there was any additional repetition, it was a few tokens -- nothing
significant.  The complexity of pcase's terse domain specific language
is a significant obstacle.

  > This repetition both adds verbosity and increases the chance to make a 
  > mistake in one of the two places. But once you eliminate it, I believe 
  > the result has to look like a more verbose pcase.

My current version of cond* has only a tiny fraction of the complexity
of pcase.

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