bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25129: 26.0.50; seq-some function


From: Eli Zaretskii
Subject: bug#25129: 26.0.50; seq-some function
Date: Wed, 07 Dec 2016 18:16:32 +0200

> From: Tino Calancha <address@hidden>
> Date: Wed, 7 Dec 2016 19:31:41 +0900 (JST)
> Cc: address@hidden, Tino Calancha <address@hidden>
> 
> > Indeed, what about:
> >
> >  Return non-nil if PRED returns non-nil for at least one element of 
> > SEQUENCE.
> >  If so, return the first non-nil value returned by PRED.
> Yeah better.
> The first line with the repetition of 'non-nil' sounds a little poetic.
> How about?
>   Return non-nil if PRED is satisfied for at least one element of SEQUENCE.
>    If so, return the first non-nil value returned by PRED.

My suggestion:

  Call PRED on elements of SEQUENCE and return first non-nil value it returns.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]