From: "R. Clayton" <factotum@rclayton.org>
To: help-gnu-emacs@gnu.org
Subject: seq-every-p documentation suggestion
Date: Tue, 20 Feb 2024 21:53:12 -0500 [thread overview]
Message-ID: <87wmqy1qav.fsf@rclayton.org> (raw)
The documentation for seq-every-p is incomplete because it specifies a function
satisfied by the definition
(defun seq-every-p (P S) t)
which I'm assuming isn't an acceptable implementation for seq-every-p. One
potential fix is to rewrite the specification as
Return non-nil if and only if PRED returns non-nil for all the elements of
SEQUENCE.
or more explicitly
Return non-nil if PRED returns non-nil for all the elements of SEQUENCE,
otherwise return nil.
The documentation should also describe what is expected when S is the empty
list.
This is in emacs 29.1 on Debian testing.
next reply other threads:[~2024-02-21 2:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 2:53 R. Clayton [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-21 22:47 seq-every-p documentation suggestion Mekeor Melire
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=87wmqy1qav.fsf@rclayton.org \
--to=factotum@rclayton.org \
--cc=help-gnu-emacs@gnu.org \
/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.
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).