[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: seq-some-p and nil
From: |
Nicolas Petton |
Subject: |
Re: seq-some-p and nil |
Date: |
Wed, 23 Sep 2015 10:38:59 +0200 |
User-agent: |
Notmuch/0.19 (http://notmuchmail.org) Emacs/25.0.50.6 (x86_64-unknown-linux-gnu) |
Simen Heggestøyl <address@hidden> writes:
Hi Simen,
> Ah, sorry, I should have been clearer. What I meant was that it could
> guarantee to return the *first* non-nil value that resulted from
> applying the predicate, like in CL.
>
> So for instance, (seq-some #'1+ '(1 3 5)) could guarantee to return 2,
> not 4 or 6.
You lost me. Isn't that exactly what `seq-some' does?
(seq-some #'1+ '(1 3 5)) ;; => 2
Or did you mean that the documentation of `seq-some' should state that
`seq-some' returns the first non-nil value?
Cheers,
Nico
signature.asc
Description: PGP signature
- Re: seq-some-p and nil, (continued)
- Re: seq-some-p and nil, Mark Oteiza, 2015/09/08
- Re: seq-some-p and nil, Stefan Monnier, 2015/09/08
- Re: seq-some-p and nil, Mark Oteiza, 2015/09/08
- Re: seq-some-p and nil, Stephen J. Turnbull, 2015/09/09
- Re: seq-some-p and nil, Mark Oteiza, 2015/09/09
- Re: seq-some-p and nil, Nicolas Petton, 2015/09/07
Re: seq-some-p and nil, Nicolas Petton, 2015/09/03
- Re: seq-some-p and nil, Simen Heggestøyl, 2015/09/10
- Re: seq-some-p and nil, Nicolas Petton, 2015/09/10
- Re: seq-some-p and nil, Simen Heggestøyl, 2015/09/22
- Re: seq-some-p and nil,
Nicolas Petton <=
- Re: seq-some-p and nil, David Kastrup, 2015/09/23
- Re: seq-some-p and nil, Simen Heggestøyl, 2015/09/23
- Re: seq-some-p and nil, Nicolas Petton, 2015/09/23
Re: seq-some-p and nil, Nicolas Petton, 2015/09/29