emacs-devel
[Top][All Lists]
Advanced

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

Re: Code for cond*


From: Ihor Radchenko
Subject: Re: Code for cond*
Date: Wed, 24 Jan 2024 12:22:31 +0000

Po Lu <luangruo@yahoo.com> writes:

> Stefan Kangas <stefankangas@gmail.com> writes:
>
>> If it does _not_ come with such a plan, it's slightly better.  But then
>> that begs the question: why add it?
>
> Because it will forever free us of such forms as:
>
>   (let (x y z)
>     (cond ((eq (setq x ...) 'bar)
>            yyy)
>           ((setq y (... x))
>            zzz)
>           ...and so on
>
> This alone is too important a feature to be consigned to ELPA.

May you elaborate how cond* helps simplifying the above example?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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