On Sun, Sep 26, 2010 at 22:05, Robert McIntyre <r...@mit.edu> wrote: > > > Here are my functions that they may be helpful to you: > > (defmacro ns-nuke > ([] > (let [current-ns# (symbol (str *ns*))] > `(do > (println "NUKING namespace" (quote ~current-ns#)) > (clojure.lang.Namespace/remove (quote ~current-ns#)) > (ns ~current-ns#))))) > > > (defmacro reload [] > `(do > > (use :reload-all (quote ~(symbol (str *ns*)))))) > > > You could use remove-ns instead of cloure.lang.Namespace/remove no?
Thanks for this idea, I'll keep it in mind when I next stumble over this and see if it would have helped. Cheers, mike -- 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