Is there a function in clojure that (given a predicate and a collection), selects the first item that satisfies the given predicate and stop the iteration?
for example:
(select-first #(> % 10) (range))
=> 11
If not, maybe someone could hint me about an idiomatic implementation