From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Cc: Eli Zaretskii <eliz@gnu.org>
Subject: Re: [Emacs-diffs] emacs-25 d7a93ef: Minor improvements to 'pcase' documentation
Date: Fri, 29 Jan 2016 09:14:11 -0500 [thread overview]
Message-ID: <jwvd1skxyr2.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <E1aP5Zi-00006V-7V@vcs.savannah.gnu.org> (Eli Zaretskii's message of "Fri, 29 Jan 2016 09:42:42 +0000")
> +@c FIXME: There should be an example here showing how a 'pcase' that
> +@c uses QPatterns can be rewritten using UPatterns.
For example:
`(k . ,v)
macro-expands (via (funcall (get '\` 'pcase-macroexpander) '(k . ,v))) to:
(funcall (get '\` 'pcase-macroexpander) '(k . ,v))
=>
(and (pred consp) (app car `k) (app cdr `,v))
=>
(and (pred consp) (app car 'k) (app cdr v))
-- Stefan
next parent reply other threads:[~2016-01-29 14:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20160129094242.352.60019@vcs.savannah.gnu.org>
[not found] ` <E1aP5Zi-00006V-7V@vcs.savannah.gnu.org>
2016-01-29 14:14 ` Stefan Monnier [this message]
2016-01-29 15:38 ` [Emacs-diffs] emacs-25 d7a93ef: Minor improvements to 'pcase' documentation Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvd1skxyr2.fsf-monnier+emacsdiffs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.