cljs-dev 2025-03-17

It seems that protocol definitions like

(defprotocol Linkable
  (-href [_ _ _]))
work in Clojure but don't work in CLJS. Apparently, _ just override each other from left to right, and the dispatch happens on the last argument instead. The initial question with a link to an MRE: https://clojurians.slack.com/archives/C03S1L9DN/p1742221669534609 A corresponding "ask": https://ask.clojure.org/index.php/14469/protocol-function-with-placeholder-arguments-doesnt-clojure