|
From: | Michael Heerdegen |
Subject: | Re: The poor state of documentation of pcase like things. |
Date: | Sat, 19 Dec 2015 16:18:33 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes: > > (pcase value > > (`(1 2 ,(or `3 `4)) > > (message "Matched either the list (1 2 3) or (1 2 4)"))) > > Do 3 and 4 really have to be quoted here? Why? Of course not! The form after the `unquote' is a "normal" pcase pattern. Numbers count as atoms matching themselves. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |