clojure - How is the defprotocol macro defined in clojurescript? -


i'm trying figure out source code defprotocol macro defined.

in cljs.core source:

https://github.com/clojure/clojurescript/blob/master/src/cljs/cljs/core.cljs

the defprotocol macros pops on line 155 (along -invoke function). can find implemented?

all macros in clojurescript have implemented clojure.

the defprotocol implemented @ line 796 of file:

https://github.com/clojure/clojurescript/blob/master/src/clj/cljs/core.clj#l796

note file clojure file, not clojurescript file.


Comments