Closed Sohalt closed 1 year ago
Hey, That is a good suggestion. I hadn't thought about that.
I solved it a while back by interning the macros in the clj.core namespace
#?(:clj (do (intern 'clojure.core (with-meta 'defn* (meta #'defn*)) #'defn*)
(intern 'clojure.core (with-meta '*fn (meta #'*fn)) #'*fn)
(intern 'clojure.core (with-meta 'defmethod* (meta #'defmethod*)) #'defmethod*)
(intern 'clojure.core (with-meta '*let (meta #'*let)) #'*let)
(try
(intern 'cljs.core (with-meta 'defn* (meta #'defn*)) #'defn*)
(intern 'cljs.core (with-meta '*fn (meta #'*fn)) #'*fn)
(intern 'cljs.core (with-meta 'defmethod* (meta #'defmethod*)) #'defmethod*)
(intern 'cljs.core (with-meta '*let (meta #'*let)) #'*let)
(catch Exception _))))
I still need to create a release with these changes.
How about
?