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
Are you sure you want to do this? If yes, you could use defprotocol to specify what operators you want to override and extend the classes for which you want these overrides implemented. For a (contrived) example see my answer to this question.