Re: Compiling ClojureScript in the repl using a macro defined in Clojure

2013-11-21 Thread juan.facorro
I tried the following: 1. Created a project with David Nolen's lein template (taken from here ): *$ lein new mies hello-world* 2. Created a *macro.clj* file in the *src/hello-world* folder with the contents you posted:

Compiling ClojureScript in the repl using a macro defined in Clojure

2013-11-20 Thread Ed Yu
Hello, I'm stuck on this particular problem that I'm having problem figuring out what to do: Say I have a leiningen project that has a simple ClojureScript src/cljs/hello_world/hello.cljs file that has the following: (ns hello-world.hello (:require-macros [hello-world.macro :as macro])) (d