Suppose I have two namespaces (ns1 and ns2) and the first "uses" the 
second.  When I load ns1 and switch to its namespace in nREPL, everything 
works as expected.  If I then make changes to existing definitions in ns2 
and reload that file, everything still works as expected.  Finally, when I 
try to add an entirely new definition to ns2, and then reload that file, my 
REPL claims that the new symbol is undefined.  Why is this?

If I go back to the file containing ns1 and reload it, things work again. 
 This is an awkward thing to have to do and I can't imagine there isn't a 
way around it.  

For what it's worth, I tried using tools.namespace but if I (refresh) code 
that doesn't compile, then suddenly the refresh symbol is out of scope and 
I'm back to square one.

Help please!

-- 
-- 
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/groups/opt_out.


Reply via email to