Thank you Meikel for going to the trouble of writing out the full macro. It's going to take me a while to decipher it, and hopefully grasp some understanding at the end of it.
I find defblockfn very useful for functions that take a single function as one of the parameters. Macros are much harder and more error-prone to write than functions, so almost all of my macros do nothing but wrap a body in a function. "One technique, which was helpful was to just call the defblockfn macro and then expand the call to freshly defined macro. (defblockfn foo [a b c] ...) (macroexpand-1 '(foo :a :b :c)) " Could you explain a bit more what you mean by that? I don't quite understand what you're saying, but it sounds potentially very useful. Thanks again -Patrick --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---