Okay, this looks a lot like the ruby yeild statement. Is that what inspired you?
On May 28, 12:50 pm, CuppoJava <patrickli_2...@hotmail.com> wrote: > That's unfortunate. It would have made matters much easier for me. > > The macro I'm attempting to write is: > > (defblockfn my_block_fn [arg1 arg2 func] > (op1 arg1) > (func) > (op2 arg2)) > > Becomes: > > (defn -my_block_fn [arg1 arg2 func] > (op1 arg1) > (func) > (op2 arg2)) > (defmacro my_block_fn [arg1 arg2 & tail] > `(-my_block_fn arg1 arg2 (fn [] ~...@tail))) > > The recursive backquotes are really confusing me. I would be extremely > appreciative if someone can explain step-by-step how to reason with > backquotes within backquotes. > -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 -~----------~----~----~----~------~----~------~--~---