[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: |
Mon, 20 Nov 2023 21:42:16 -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. ]]]
> > They contain code that looks like Lisp but does not have the same
> > semantic rules as Lisp.
> Yes: it's a domain-specific language.
THat is why pcase adds to the total complexity of Emacs Lisp: because
it incorporates a domain-specific language. (I called it a "little
lajguage".)
> To interpret those backquotes and commas, one can imagine that the they
> do the inverse of the usual.
I uderstand that when you say it, but when I saw the line
> > (`(,hookfun . (,start ,end ,collection . ,plist))
I was not sure which part of the line that rule applies to.
In particular, what is the reason for the period and inner
parenthsses? Why doesn't the code say this?
> > (`(,hookfun ,start ,end ,collection . ,plist)
Would that be equiva;ent?
I could not assume the inner parenthsses were unnecessary. Maybe
there was a conventiob by which they change the meaning.
I did not know.
--
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)
- Re: Instead of pcase, (continued)
- Re: Instead of pcase, Barry Fishman, 2023/11/19
- Re: Instead of pcase, Dmitry Gutov, 2023/11/19
- Re: Instead of pcase, Michael Heerdegen, 2023/11/20
- Re: Instead of pcase, Richard Stallman, 2023/11/22
- Re: Instead of pcase, Dmitry Gutov, 2023/11/24
- Re: Instead of pcase, Michael Heerdegen, 2023/11/24
- Re: Instead of pcase, Dmitry Gutov, 2023/11/24
- Re: Instead of pcase, Dmitry Gutov, 2023/11/19
- Re: Instead of pcase,
Richard Stallman <=
- Re: Instead of pcase, Jim Porter, 2023/11/21
- Re: Instead of pcase, Yuri Khan, 2023/11/21
- Re: Instead of pcase, Dmitry Gutov, 2023/11/21
- Re: Instead of pcase, Michael Heerdegen, 2023/11/21
- Re: Instead of pcase, Richard Stallman, 2023/11/22
- Re: Instead of pcase, Richard Stallman, 2023/11/23
- Re: Instead of pcase, Jim Porter, 2023/11/23
- Re: Instead of pcase, Eli Zaretskii, 2023/11/24
- Re: Instead of pcase, Emanuel Berg, 2023/11/25
- Re: Instead of pcase, Dmitry Gutov, 2023/11/24