[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pcase docs
From: |
Stefan Monnier |
Subject: |
Re: pcase docs |
Date: |
Sun, 24 Jan 2016 00:07:03 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Sorry, I don't understand: how can knowing what 'defmacro' does help
> to know what 'pcase-defmacro' does?
(defmacro FOO (FARGS) BODY) takes an expression of the form (FOO AARGS),
and replaces it with the result of evaluating BODY in a context where
FARGS is bound to AARGS.
(pcase-defmacro FOO (FARGS) BODY) takes a pattern of the form (FOO AARGS),
and replaces it with the result of evaluating BODY in a context where
FARGS is bound to AARGS.
Stefan "hoping this clarifies it. Sorry for my poor docstrings"
- Re: pcase docs, (continued)
- Re: pcase docs, Eli Zaretskii, 2016/01/23
- Re: pcase docs, Michael Heerdegen, 2016/01/23
- Re: pcase docs, Eli Zaretskii, 2016/01/23
- Re: pcase docs, Michael Heerdegen, 2016/01/23
- Re: pcase docs, Eli Zaretskii, 2016/01/23
- Re: pcase docs, Michael Heerdegen, 2016/01/23
- Re: pcase docs, Michael Heerdegen, 2016/01/23
- Re: pcase docs, Alan Mackenzie, 2016/01/23
- Re: pcase docs, Eli Zaretskii, 2016/01/23
- RE: pcase docs, Drew Adams, 2016/01/23
- Re: pcase docs,
Stefan Monnier <=
- Re: pcase docs, Eli Zaretskii, 2016/01/22