An implementation of clojure.core/some-fn with a simple operational equivalence.
An implementation of clojure.core/some-fn with a simple operational equivalence.
(somef)
(somef f)
(somef f1 f2)
(somef f1 f2 f3)
(somef f1 f2 f3 & fs)
Combines functions into a variable-arity disjunction.
Operationally equivalent to:
(defn somef [& fs] (fn [& args] (some #(some % args) fs)))
Combines functions into a variable-arity disjunction. Operationally equivalent to: (defn somef [& fs] (fn [& args] (some #(some % args) fs)))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close