An implementation of clojure.core/some-fn with a simple definitional equivalence.
An implementation of clojure.core/some-fn with a simple definitional equivalence.
(somef & fs)Combines functions into a variable-arity disjunction.
Definitionally equivalent to:
(defn somef [& fs] (fn [& args] (some #(some % args) fs)))
Combines functions into a variable-arity disjunction.
Definitionally equivalent to:
(defn somef [& fs]
(fn [& args] (some #(some % args) fs)))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 |