I wanted to achive following inside a macro. Lets say I have a macro called deffilter which can use in following manner.
(deffilter split-sentence ["sentence"] ["word"] (work {} (let [tuple (pop) words (s/split (value-at tuple 0) " ")] (doseq [w words] (push [w] :anchor tuple))))) I need to transform above work section to something looks like following. (work [tuple1234] (let [tuple tuple1234 words (s/split (value-at tuple 0) " ")] (doseq [w words] (push [w] :anchor tuple)))) (pop) should be replaced by tuple1234 like string which is same as parameter to work function. Really appriciate if someone can point me a way to achieve this. I am not sure having pop as another macro is viable because I need to use the same name as input parameter to work function. Thanks Milinda -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.