Clojurians
#cljs-dev
<
2015-12-28
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

vibl15:12:45

I can't make macroexpand nor macroexpand-1 work within a clj macro called from cljs.

vibl15:12:45

(defmacro test-macroexpand [] ``(quote ~(macroexpand-1 '(-> 1 inc))))` should return (inc 1), as it does in clj. But it returns (-> 1 inc) instead when the macro is called from cljs.

vibl15:12:43

(defmacro test-macroexpand [] `(quote ~(macroexpand-1 '(-> 1 inc))))
should return (inc 1), as it does in clj. But it returns (-> 1 inc) instead when the macro is called from cljs.