emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] pcase.el: Add type pattern


From: Eli Zaretskii
Subject: Re: [PATCH] pcase.el: Add type pattern
Date: Mon, 09 Mar 2020 20:38:25 +0200

> From: Adam Porter <address@hidden>
> Date: Mon, 09 Mar 2020 13:19:48 -0500
> 
> It seemed like an obvious and useful improvement to add a "type" pattern
> to pcase, so I prepared this patch.  I wondered if checking for
> predicates like this was a good way to do so, and I saw that the
> cl-typep inliner does basically this, so it seems reasonable.
> 
> If this seems like an acceptable idea, please let me know if any further
> changes are required.

Thanks for working on this.  I'll let others comment on whether this
should be added, but if it is, it should be documented in the ELisp
manual, like all the other patterns supported by pcase.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]