emacs-devel
[Top][All Lists]
Advanced

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

Re: Instead of pcase


From: Jim Porter
Subject: Re: Instead of pcase
Date: Thu, 16 Nov 2023 11:13:57 -0800

On 11/16/2023 10:40 AM, T.V Raman wrote:
Yes. especially if a use I was trying to understand had some helpful
guidance right next to it; that would also help one learn.

I'm hoping that putting examples in some separate place (e.g. shortdoc) would be helpful. By my count, there are 1182 calls to pcase in the Emacs tree, so it would be difficult to provide an intro to the syntax before every such use. (To be fair, 433 of those are in Org, but that still leaves us 749 cases in other parts of the tree.)

That said, for unusually-tricky uses of pcase, it would probably be nice to sprinkle in a few comments so you don't need to be a pcase master in order to understand what's going on.



reply via email to

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