an example from
https://clojuredocs.org/clojure.core/some
;;if you want to return the element that caused the predicate to return true
;;use the "and" function on the predicate and the argument:
(some #(and (even? %) %) [1 3 5 7 8 2])
;;=> 8
--------------
even? is the pred of and
and is the pred of some
But how does some both extract and identify 8, if "and" forages for a
negative?
Thanks, imputerate
--
imput...@puteracy.com