How to check that every value in the collection returned by map is true?
I am using the following:
(defn test [f coll] (every?
with the anonymous function #(identity %) , but I was wondering if there is a better way.
I cannot use (apply and ...) because and is a macro.
UPDATE : By the way, I am making my way across the Haskell road to logic, math and programming, Kees Doets and Jan can Age, but doing the exercises in Clojure. This is a very interesting book.
Ralph source share