|
From: | Michael Heerdegen |
Subject: | Re: return first element in list with certain property |
Date: | Mon, 20 Nov 2017 23:19:35 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Emanuel Berg <moasen@zoho.com> writes: > > And if you want to be cool: > > > > (seq-find (apply-partially #'< 1) '(1 1 3 1 4 > > 2)) ==> 3 > > "And" if you want to be cool? I agree `apply-partially' is cooler but > why is `seq-find' better than `cl-find-if'? I (too) didn't want to imply that. Both functions are defined, so both are there to be used. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |