GNU bug report logs - #25129
26.0.50; seq-some function

Previous Next

Package: emacs;

Reported by: Pierre Lorenzon <devel <at> pollock-nageoire.net>

Date: Wed, 7 Dec 2016 08:27:02 UTC

Severity: normal

Found in version 26.0.50

Done: Nicolas Petton <nicolas <at> petton.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 25129 <at> debbugs.gnu.org, nicolas <at> petton.fr
Subject: bug#25129: 26.0.50; seq-some function
Date: Wed, 07 Dec 2016 18:16:32 +0200
> From: Tino Calancha <tino.calancha <at> gmail.com>
> Date: Wed, 7 Dec 2016 19:31:41 +0900 (JST)
> Cc: 25129 <at> debbugs.gnu.org, Tino Calancha <tino.calancha <at> gmail.com>
> 
> > 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.




This bug report was last modified 8 years and 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.