An implementation of clojure.core/every-pred with a simple operational equivalence.
An implementation of clojure.core/every-pred with a simple operational equivalence.
(everyp)(everyp p)(everyp p1 p2)(everyp p1 p2 p3)(everyp p1 p2 p3 & ps)Combines predicates into a variable-arity conjunction.
Operationally equivalent to:
(defn everyp [& ps] (fn [& args] (every? #(every? % args) ps)))
Combines predicates into a variable-arity conjunction.
Operationally equivalent to:
(defn everyp [& ps]
(fn [& args] (every? #(every? % args) ps)))cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |