emacs-devel
[Top][All Lists]
Advanced

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

RE: The poor state of documentation of pcase like things.


From: Phillip Lord
Subject: RE: The poor state of documentation of pcase like things.
Date: Sun, 20 Dec 2015 09:25:18 +0000


It matches anything (like a variable) but does not actually bind a variable.

It's also being used in other parts of Emacs -- I've used it for generic EIEIO 
methods

(defmethod blah (a b _))


to mean "I have to have a parameter, but am not going to use it", although it's 
just a symbol
like any other and binds a variable. IIRC it shuts byte compiler warnings up 
about unused variables.




________________________________________
From: Richard Stallman address@hidden
Sent: 20 December 2015 05:13
To: Phillip Lord
Cc: address@hidden; address@hidden
Subject: Re: The poor state of documentation of pcase like things.

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

Could someone report on what the current meaning of _ is?
How is it actually used in pcase?

--
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]