Is there an example of using :rename in a :use in the ns macro? I'm trying to get it to work, but the best I can come up with is:
(ns namespace (:use other-namespace :rename { :existing :newname })) and when compiling, I get "ClassCastException: java.lang.Boolean cannot be cast to clojure.lang.IFn". I'm not sure what's being turned into a boolean or what should be an IFn, but if I get rid of everything between :rename and ), it compiles. --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---