emacs-devel
[Top][All Lists]
Advanced

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

Re: Code for cond*


From: Richard Stallman
Subject: Re: Code for cond*
Date: Fri, 26 Jan 2024 22:35:32 -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. ]]]

  > , in the generated code, the form (let* ,(cdr condition) ...) sometimes
  > gets evaluated twice.  Surely this is a Bad Thing.  Or am I missing
  > something?

Yes, that was a bug.  Thanks.

  > In cond*-match, you use gensyms.  I've not spent enough time
  > understanding the code, but would it be possible, somehow, to avoid
  > these?

I don't see a way to avoid using generated symbols.  (pcase uses them
too.)  There could be other ways to generate their names, but
what specific way would be bbetter?

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