emacs-devel
[Top][All Lists]
Advanced

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

Re: [External] : Re: cond* vs pcase


From: Alfred M. Szmidt
Subject: Re: [External] : Re: cond* vs pcase
Date: Thu, 08 Feb 2024 12:01:15 -0500

   > From: Po Lu <luangruo@yahoo.com>
   > Cc: Arthur Miller <arthur.miller@live.com>,  drew.adams@oracle.com,
   >  adam@alphapapa.net,  emacs-devel@gnu.org,  philipk@posteo.net
   > Date: Thu, 08 Feb 2024 09:55:27 +0800
   > 
   > "Alfred M. Szmidt" <ams@gnu.org> writes:
   > 
   > > That would be really nice (and maybe ecase, ccase as someone else
   > > noted).
   > 
   > So provided that no serious objections emerge within the next couple of
   > days, I will install a change to this effect.  Thanks.

   Please don't.  We don't have any real reason for doing this at this
   time.  The fact that the idea was popped up in a not-entirely-related
   discussion is not a good reason for adding stuff to Emacs.  The number
   of callers of cl-case in our tree is not high enough to justify this.

The only reason for that is because cl-FOO has been activley
discouraged to be used, and active efforts to reduce cl-FOO usage was
done when the 'cl package became deprecated.

There are quite a bit of places where cl-case/case could have been
used, and pcase is used instead for no additional benefit.

Just because nothing uses it, doesn't mean that is a good argument to
not add it either.



reply via email to

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