Re: comp inside macro

2012-09-27 Thread sailormoo...@gmail.com
Solved. Thanks ^o^ -- 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,

Re: comp inside macro

2012-09-26 Thread Alan Malloy
(a) There's no reason for this to be a macro at all: you don't need to prevent evaluation of anything, and you don't need to transform any syntax. Just write a function: (defn asdf [& {:keys [a]}] (println (comp (partial + 1) a))) (b) To make this a macro, just be more careful about what you evalu