Hi, I still didnt find good high coverage descriptions/tutorials about how to write macros in Clojure. I read the stuff in Stuart Halloways book, thats good, but just a small introduction.
I still have some technical questions, but the main issue seems to be that I need to dive more deeply into the whole area of macro programming. My technical questions: 1. I can use syntax-quote in the REPL, outside of a macro-definition. Is this of any use? Does this mean the REPL always macroexpands everything? user=> (def x 1) #'user/x user=> `x user/x user=> (+ (eval `x) 3) 4 user=> (+ (eval `(+ 5 ~x)) 3) 9 2. maxroexpand and macroexpand-1 dont extend macros in subforms. Is there anything that does? 3. Is there a way to use macros in higher order functions? Say along the lines of (map def [a b c] [1 2 3]) Btw, am I right that this might be possible in a lazy language? (probably more to come :) Thank you, and kind regards, alux -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en