emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] fix/bug-3133-pcase-doc 1181796 01/13: do ‘s/UPattern/


From: Thien-Thi Nguyen
Subject: Re: [Emacs-diffs] fix/bug-3133-pcase-doc 1181796 01/13: do ‘s/UPattern/U-pattern/g’, ‘s/QPattern/Q-pattern/g’
Date: Wed, 16 May 2018 21:17:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

() Stefan Monnier <address@hidden>
() Tue, 15 May 2018 14:29:33 -0400

   > Now that the result of `pcase--make-docstring' grows longer
   > and longer, maybe the naive `mapatoms' is not so nice
   > anyway, it could need some better order/ some structure.

   Agreed.

Please see commit 4cf4faa888.  Works for me (light testing).

I retained ‘mapatoms’, but split the processing into two phases,
separated by a "yank backquote to head".  What could be better
than ‘mapatoms’, i wonder?

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)
   (pcase (context query)
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature


reply via email to

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