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: Arthur Miller
Subject: Re: [External] : Re: cond* vs pcase
Date: Wed, 07 Feb 2024 19:00:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Po Lu <luangruo@yahoo.com> writes:

> Arthur Miller <arthur.miller@live.com> writes:
>
>> Drew Adams <drew.adams@oracle.com> writes:
>>
>>>>    (pcase foo
>>>>      ('bar (do-some-bar-stuff))
>>>>      ('baz (do-some-baz-fluff)))
>>>> 
>>>> is not more awful or wonderful than:
>>>> 
>>>>    (cl-case foo
>>>>      (bar (do-some-bar-stuff))
>>>>      (baz (do-some-baz-fluff)))
>
> Sorry to interject, but this really suggests that `cl-case' should
> become, simply, `case', in subr.el this time around...

Pcase in that case, thanks.



reply via email to

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