On Aug 28, 2009, at 11:55 PM, Vagif Verdi <vagif.ve...@gmail.com> wrote: > > I often refactor my code and move some functions to new modules. > Unfortunately i cannot load them, because clojure says that function > with such name is already loaded from another namespace. I could not > find nothing better but to close my clojure session (which means bring > down the web server) and start it back again. > > Is there a way to unregister some names from a namespace without > reloading it ?
Check out ns-unmap, I think that should do want you want. Contrib's ns- utils might have some related functions too, but I'm not near a computer to check. HTH, - J. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---