emacs-devel
[Top][All Lists]
Advanced

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

Re: Why is there no `until' in elisp?


From: Garreau\, Alexandre
Subject: Re: Why is there no `until' in elisp?
Date: Tue, 16 Oct 2018 21:31:49 +0200
User-agent: Gnus (5.13), GNU Emacs 25.1.1 (i686-pc-linux-gnu)

On 2018-10-16 at 12:16, Eric Abrahamsen wrote:
> "Garreau, Alexandre" <address@hidden> writes:
>> [0] such as: (defmacro until (test &rest body) (declare (indent 1))
>> `(while (not ,test) ,@body))
>
> I have nothing to do with this, but my feeling is that Lisp developers
> in general drag their feet about adding trivial/obvious constructs to
> the standard library.

Why?  If this is because of the triviality of reimplementing, wouldn’t
they do, once they want to use it in contributing emacs (I keep seeing
many (while (not …) …))?  or do they restrain themselves for some
rational/useful reason I still ignore?

The “it’s one macro more to learn fully the language” doesn’t stand that
much (especially about elisp) to me as it is easy to read source code,
easy to find definitions, and “unless” is as much an english word as
“while” (maybe even more widespread, outside of programming).



reply via email to

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