From: Lars Ingebrigtsen <larsi@gnus.org>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 37400@debbugs.gnu.org, "Adrià Garriga" <adria.garriga@gmail.com>
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 [thread overview]
Message-ID: <87a7ad9nuq.fsf@gnus.org> (raw)
In-Reply-To: <85ef0ki5rw.fsf@gmail.com> (Noam Postavsky's message of "Fri, 13 Sep 2019 11:18:27 -0400")
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
prev parent reply other threads:[~2019-10-07 4:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-13 8:50 bug#37400: Patch for bug in cl-reduce: function called with no arguments when list is empty Adrià Garriga
2019-09-13 15:18 ` Noam Postavsky
2019-10-07 4:33 ` Lars Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a7ad9nuq.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=37400@debbugs.gnu.org \
--cc=adria.garriga@gmail.com \
--cc=npostavs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).