emacs-devel
[Top][All Lists]
Advanced

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

[PATCH] pcase.el: Add type pattern


From: Adam Porter
Subject: [PATCH] pcase.el: Add type pattern
Date: Mon, 09 Mar 2020 13:19:48 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi,

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,
Adam

Attachment: 0001-lisp-emacs-lisp-pcase.el-Add-type-pattern.patch
Description: Add pcase type pattern


reply via email to

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