> > The defmulti would be closer to > > (defmulti mm first) > > because we need to dig into the list to get the first symbol. >
I don't think that there is anything stopping you from creating such a code walker now. Maybe you should built a proof of concept to demonstrate some use cases concretely? > But there need to be a way to recurse as well, if you want to > interprete the whole expression. That part is hard to capture in the > multimethod. > Look for a paper titled "Expansion-Passing Style: A General Macro Mechanism" for ideas on how to handle recursion and expansion dispatch. -- 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