[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/stream 1e3c1436cc 7/7: Shorten the documentation string
From: |
Stefan Monnier |
Subject: |
[elpa] externals/stream 1e3c1436cc 7/7: Shorten the documentation strings of seq-take-while and seq-drop-while. |
Date: |
Sun, 17 Nov 2024 21:15:43 -0500 (EST) |
branch: externals/stream
commit 1e3c1436cc1b66348091abef7d2658b3a2296625
Author: Earl Hyatt <okamsn@protonmail.com>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
Shorten the documentation strings of seq-take-while and seq-drop-while.
* stream.el (seq-take-while): Re-word documentation string to be less that
80
characters.
* stream.el (seq-drop-while): Re-word documentation string for symmetry with
seq-take-while.
---
stream.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stream.el b/stream.el
index 4c1fb4bd7f..dcd45a7320 100644
--- a/stream.el
+++ b/stream.el
@@ -413,14 +413,14 @@ stream will simply be accordingly shorter, or even
empty)."
(stream-rest stream)))))
(cl-defmethod seq-take-while (pred (stream stream))
- "Return a stream of the successive elements for which (PRED elt) is non-nil
in STREAM."
+ "Return a stream of STREAM's successive elements for which PRED returns
non-nil."
(stream-make
(when (funcall pred (stream-first stream))
(cons (stream-first stream)
(seq-take-while pred (stream-rest stream))))))
(cl-defmethod seq-drop-while (pred (stream stream))
- "Return a stream from the first element for which (PRED elt) is nil in
STREAM."
+ "Return a stream of STREAM's successive elements for which PRED returns nil."
(stream-make
(while (not (or (stream-empty-p stream)
(funcall pred (stream-first stream))))
- [elpa] externals/stream updated (5c0ffd088f -> 1e3c1436cc), Stefan Monnier, 2024/11/17
- [elpa] externals/stream b2f650a8a6 4/7: Add an implementation of `seq-concatenate` for streams., Stefan Monnier, 2024/11/17
- [elpa] externals/stream 0ad03f585b 5/7: Add test for delayed evaluation for seq-drop-while for streams., Stefan Monnier, 2024/11/17
- [elpa] externals/stream daa19594e7 3/7: Add generalized variables for streams that error when used., Stefan Monnier, 2024/11/17
- [elpa] externals/stream 1e3c1436cc 7/7: Shorten the documentation strings of seq-take-while and seq-drop-while.,
Stefan Monnier <=
- [elpa] externals/stream bd614d022b 2/7: Add more efficient method for making streams from arrays., Stefan Monnier, 2024/11/17
- [elpa] externals/stream f48552c066 1/7: Change 'stream.el' to use structures instead of cons cells., Stefan Monnier, 2024/11/17
- [elpa] externals/stream 202db1e4b5 6/7: Fix the quoting in the documentation of `seq-mapn` for streams., Stefan Monnier, 2024/11/17