[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: |
Tue, 08 Sep 2015 15:21:15 +0200 |
User-agent: |
Notmuch/0.19 (http://notmuchmail.org) Emacs/25.0.50.4 (x86_64-unknown-linux-gnu) |
Stefan Monnier <address@hidden> writes:
> And using seq-some doesn't have the weird nil corner case.
Just like CL's `find-if' and Scheme's `find', if one is looking for nil,
and if `seq-find' is not supposed to return a boolean, then it's fine
with me. You'd always have `seq-some' if it's an issue in a specific
scenario anyway.
> And defining seq-find as I did means it's always less efficient.
It's ok, I think, for `seq-find' to reuse `seq-some'. You can't both
want to remove code duplication and be as efficient as the code you are
reusing.
Nico
signature.asc
Description: PGP signature
- RE: seq-some-p and nil, (continued)
- RE: seq-some-p and nil, Nicolas Petton, 2015/09/09
- Re: seq-some-p and nil, Stefan Monnier, 2015/09/08
- Re: seq-some-p and nil, David Kastrup, 2015/09/08
- Re: seq-some-p and nil, Nicolas Petton, 2015/09/08
- Re: seq-some-p and nil, David Kastrup, 2015/09/08
- Re: seq-some-p and nil, Stefan Monnier, 2015/09/08
- Re: seq-some-p and nil, Nicolas Petton, 2015/09/09
- Re: seq-some-p and nil,
Nicolas Petton <=
- 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