2014-09-23 12:53 GMT+02:00 Hugo Duncan <duncan.h...@gmail.com>: > > laurent.pe...@gmail.com writes: > > > Le mardi 23 septembre 2014, Stuart Sierra <the.stuart.sie...@gmail.com> > a > > écrit : > > > >> 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. > >> > > > > Can this be fixed for clojure 1.7 (integrate clojure.namespace hack into > > 'remove-ns)? Or is there a reason I can't see right now in favor of the > > current behavior? > > Or a new function added, e.g. `unload-ns`, that combines remove-ns with > updating the ref. >
Yeah, sure. Just a question so my understanding levels up: are there usecases where one would use the current behavior of removing a namespace not also removing it from *loaded-libs* (and thus preventing it from being required without :reload) ? > > Hugo > -- Laurent Petit -- 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.