diff --git a/src/scittle/makro_plugin.cljs b/src/scittle/makro_plugin.cljs index da290ba..9be33e4 100644 --- a/src/scittle/makro_plugin.cljs +++ b/src/scittle/makro_plugin.cljs @@ -3,8 +3,8 @@ [sci.core :as sci] [scittle.core :as scittle])) -(defn add-low-fn [_env _form x y & zs] `(str "__" ~x ~y ~zs)) -(def add-low-makro (with-meta add-low-fn {:sci/macro true})) +(defn add-low-fn [_env _form x y] `(str "_" ~x ~y)) +(defn ^:macro add-low-makro [_env _form x y] (add-low-fn _env _form x y)) (def rns (sci/create-ns 'makro-plugin.core nil)) diff --git a/test.html b/test.html index 3180191..f306ddc 100644 --- a/test.html +++ b/test.html @@ -5,11 +5,8 @@