3 ms·
If you have automatic partial application you lose the ability to have multi-arity functions. Functional programming is about functions, not operators. In Cloju
by bgorman 8y ago
If you have automatic partial application you lose the ability to have multi-arity functions. Functional programming is about functions, not operators. In Clojure you can compose and partially apply functions with the normal functions "comp" and "partial".
https://github.com/clojure/clojure/blob/clojure-1.9.0/src/clj/clojure/core.clj#L2549 https://github.com/clojure/clojure/blob/clojure-1.9.0/src/cl...
https://github.com/clojure/clojure/blob/clojure-1.9.0/src/clj/clojure/core.clj#L2606 https://github.com/clojure/clojure/blob/clojure-1.9.0/src/cl...