What is the correct way to override a method like “+”? Right now I have
(defn- + [x y] (replacement x y))
but this results in warnings on the command line.
WARNING: + already refers to: #'clojure.core/+ in namespace: <MY-NAMESPACE>, being replaced by #'<MY-NAMESPACE>/+
You need to exclude the functions that are imported by core: