[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25129: 26.0.50; seq-some function
From: |
Tino Calancha |
Subject: |
bug#25129: 26.0.50; seq-some function |
Date: |
Wed, 07 Dec 2016 19:19:08 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Nicolas Petton <nicolas@petton.fr> writes:
> Pierre Lorenzon <devel@pollock-nageoire.net> writes:
>
> Hi Pierre,
>
>> I well understand now that I must use seq-find instead of
>> seq-some but I think that I will not be the only one being
>> confused by these functions specifications !
>
> There is a mistake (extra if) in the documentation, I will fix that.
>
> Other than that, is the following less confusing?
>
> Return non-nil if PRED returns non-nil for at least one element of SEQUENCE.
> If so, return the value returned by PRED.
The previous doc string contains more information: it explicitely says
that it returns the _first_ non-nil (PRED element).
- bug#25129: 26.0.50; seq-some function, Pierre Lorenzon, 2016/12/07
- bug#25129: 26.0.50; seq-some function, Nicolas Petton, 2016/12/07
- bug#25129: 26.0.50; seq-some function,
Tino Calancha <=
- bug#25129: 26.0.50; seq-some function, Nicolas Petton, 2016/12/07
- bug#25129: 26.0.50; seq-some function, Tino Calancha, 2016/12/07
- bug#25129: 26.0.50; seq-some function, Nicolas Petton, 2016/12/07
- bug#25129: 26.0.50; seq-some function, Eli Zaretskii, 2016/12/07
- bug#25129: 26.0.50; seq-some function, Pierre Lorenzon, 2016/12/07
- bug#25129: 26.0.50; seq-some function, Pierre Lorenzon, 2016/12/07