[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
seq-every-p documentation suggestion
From: |
R. Clayton |
Subject: |
seq-every-p documentation suggestion |
Date: |
Tue, 20 Feb 2024 21:53:12 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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.
- seq-every-p documentation suggestion,
R. Clayton <=