bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#37400: Patch for bug in cl-reduce: function called with no arguments


From: Lars Ingebrigtsen
Subject: bug#37400: Patch for bug in cl-reduce: function called with no arguments when list is empty
Date: Mon, 07 Oct 2019 06:33:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Noam Postavsky <npostavs@gmail.com> writes:

> Actually, I think it's a docstring bug.  The Common Lisp Hyperspec says:
>
>     If the subsequence is empty and no initial-value is given, then the
>     function is called with zero arguments, and reduce returns whatever
>     function does. This is the only case where the function is called
>     with other than two arguments.

I've now added a variation of this to the doc string, and I'm closing
this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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