emacs-devel
[Top][All Lists]
Advanced

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

Re: seq-some-p and nil


From: Stefan Monnier
Subject: Re: seq-some-p and nil
Date: Tue, 08 Sep 2015 13:50:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>   (defun seq-some (pred seq)
>     (funcall pred (seq-find (pred seq)))

But that fails for the case where the element found is nil.


        Stefan



reply via email to

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