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... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- 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