There's nothing wrong with this. Defining a mini-language for a class of common calculations is very much in the spirit macros like Common Lisp's `loop`.
That said, you won't get much support for adding this to the language. These kinds of "mini-language" macros tend to have a large number of edge cases, making it difficult to determine if they are correct, and even more difficult to guarantee that they work correctly when combined with other macros. For that reason, Clojure has generally avoided these kinds of macros as language-level features. This is why Clojure has not adopted any of the (many) implementations of threading operators more complex than the built-in -> and ->>. Also, "contrib" as a monolithic thing is being phased out in favor of separate repositories dedicated to individual libraries. Stuart Sierra clojure.com -- 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