Hi,

Apologies in advance for the possibly stupid question!

I was having a problem with clojure.tools.namespace.repl/refresh where a 
namespace that had been successfully loaded subsequently failed to be 
reloaded when doing a repl/refresh.

Whilst investigating the problem, (this is probably totally unrelated to my 
issue), I realised I didn't understand how remove-ns and require actually 
work. 

To illustrate this I did the following:

(require '[foo.bar :as bar])
=> nil
(remove-ns 'foo.bar)
=> #namespace[foo.bar]
(require '[foo.bar :as bar])
=> CompilerException java.lang.Exception: namespace 'foo.bar' not found, 
compiling:(*cider-repl foo*:30:7)




So what does remove-ns do to cause the second require to fail? 



Thanks

Mark
 

-- 
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.

Reply via email to