On Nov 24, 12:01 pm, kony <kulakow...@gmail.com> wrote: > Hi, > > I found that resolve does not work correctly (I guess) when it is > called from other thread than main:
I guess your new thread also has the root binding for *ns* the current namespace, which apparently is core user=> (.start (new Thread #(println *ns*))) nil user=> #<Namespace clojure.core> So you could do this: user=> (def zz 42) #'user/zz user=> (.start (new Thread #(println (ns-resolve 'user 'zz)))) nil user=> #'user/zz What is the use case? Or are you just playing around? /Karl -- 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