Reid McKenzie <rmckenzi...@gmail.com> writes: > For the special case of a "reduction" over varargs as in #'clojure.core/+ > or #'clojure.core// where you're just generating Duff's I think the macro > should be pretty straightforward but it won't be general at all.
I tend to agree with the lack of generality -- from a little thinking, that was the conclusion I've come to as well. Though, in my case, this could easily be just because I didn't think about it enough. > However I suspect that there are enough "trivial reduction" varargs > functions as such that this may well be worth exploring. If I have > time I'll kick this around some more today. For my use case, I have four very similar and ideally very high arity. I've already partially macro'ed them to save typing, but it's possible I should go the rest of the way. If you get anything working, do let me know. I'd be happy to steal ideas:-) Phil -- 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/d/optout.