[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The poor state of documentation of pcase like things.
From: |
Richard Stallman |
Subject: |
Re: The poor state of documentation of pcase like things. |
Date: |
Thu, 24 Dec 2015 00:49:40 -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. ]]]
Is _ as wildcard a UPattern? In other words, should this
> (pcase value
> (`(_ 1 2)
> (message "Matched a list of anything followed by (2 3)")))
really be this?
> (pcase value
> (`(,_ 1 2)
> (message "Matched a list of anything followed by (2 3)")))
If so, now the description makes sense.
But I think it might be useful to define _
as a QPattern to be equivalent to ,_.
It is true that this would make it an exception among QPatterns,
but one exception might be worth while.
--
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.
- Re: The poor state of documentation of pcase like things., (continued)
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/19
- Re: The poor state of documentation of pcase like things., Eli Zaretskii, 2015/12/19
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/19
- Re: The poor state of documentation of pcase like things., John Wiegley, 2015/12/22
- Re: The poor state of documentation of pcase like things., Phillip Lord, 2015/12/19
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/19
- Re: The poor state of documentation of pcase like things., Phillip Lord, 2015/12/19
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/20
- Re: The poor state of documentation of pcase like things.,
Richard Stallman <=
- Re: The poor state of documentation of pcase like things., John Wiegley, 2015/12/24
- Re: The poor state of documentation of pcase like things., Richard Stallman, 2015/12/25
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/25
- Re: The poor state of documentation of pcase like things., John Wiegley, 2015/12/25
- Re: The poor state of documentation of pcase like things., Richard Stallman, 2015/12/26
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/26
- Re: The poor state of documentation of pcase like things., Aaron Ecay, 2015/12/26
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/26
- Re: The poor state of documentation of pcase like things., Richard Stallman, 2015/12/26
RE: The poor state of documentation of pcase like things., Drew Adams, 2015/12/16