|
From: | Michael Heerdegen |
Subject: | Re: [PATCH] pcase.el: Add type pattern |
Date: | Mon, 09 Mar 2020 23:22:25 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Adam Porter <address@hidden> writes: > (pred FUN) matches if FUN called on EXPVAL returns non-nil. > + (type TYPE) matches if EXPVAL is of TYPE. > (app FUN PAT) matches if FUN called on EXPVAL matches PAT. I like your idea, but I would not document the new pattern at this prominent position. Evaluating the pattern definition will add an entry in the dynamically created docstring anyway. I think this is good enough. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |