[Top][All Lists]

[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: Mon, 07 Sep 2015 08:11:07 +0200
User-agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/ (x86_64-unknown-linux-gnu)

Stefan Monnier <address@hidden> writes:

>> I also liked seq-some-p returning the matching element over cl-some
>> returning the value returned by the predicate.
> But if the matched element is nil ...

If the function is not supposed to return non-nil if an element is
matched but the element itself, then would it be ok? OTOH there would be
again no way to differentiate between no element found and nil being
found in the sequence.

Nicolas Petton

Attachment: signature.asc
Description: PGP signature

reply via email to

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