I want to program a macro in clojure. The macro is called like this (FORI from to task) e.g. (FORI 1 10 (println i)) and should print the numbers from 1 to 10. So far i have
(defmacro FORI [from to task]
`(let [i# (range ~from ~to)]
~task))
I don´t know how do get the list i# into the (print i).
Thanks for help.