I'm not sure I understand what you mean. `remove-ns` does not remove the namespace from the set of "loaded" namespaces kept by `require`. tools.namespace <https://github.com/clojure/tools.namespace> has a hack <https://github.com/clojure/tools.namespace/blob/a166936bd757b71348c7c1608569fc0fcb1318bd/src/main/clojure/clojure/tools/namespace/reload.clj#L19> to work around this.
But `require ... :reload` should still work. -S On Monday, September 22, 2014 10:04:49 AM UTC-4, Daniel König wrote: > > Hi, > > after removing a namespace with the remove-ns form, I am not able to > require it a second time. > From what I can tell, I should be able to reload a namespace after > removing it. > This behaviour was found in Clojure 1.5.1 and Clojure 1.6. > > Example: > > => (require 'config :reload) > nil > => (remove-ns 'config) > #<Namespace config> > => (require 'config :reload) > nil > => (remove-ns 'config) > nil > > > > Is this intentional or can it be considered broken? > > Best regards, > Daniel > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.