On Nov 22, 7:30 am, Sean Corfield <seancorfi...@gmail.com> wrote: > On Mon, Nov 21, 2011 at 12:50 PM, Alan Malloy <a...@malloys.org> wrote: > > This is way, way faster than using reflection. And all you need in > > order to remove the duplication is a macro that does the hinting for > > you: > > Well, if Clojure/core decide contrib libraries should indeed use > conditional code to avoid reflection warnings, then a macro like this > should be added somewhere standard so we don't all have to reinvent > the wheel. The same logic applies to the when-available macro which > tests features so code can be written to work with Clojure 1.2 and > 1.3...
+1 Something like this should indeed be put into a common place for use by libs. Regards, Shantanu -- 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