Re: Namespace circular dependencies

2014-10-17 Thread Colin Fleming
I see - thanks very much Stephen, that's very helpful. So it seems like this check should only catch circular dependencies when they appear in ns forms, since those will produce a cycle error if none of the other namespaces are currently loaded. I'll investigate doing this. I can't think of a case

Re: Namespace circular dependencies

2014-10-16 Thread Stephen Gilardi
> So, I'm confused. I'm not sure what is allowed and under what circumstances, > and I'm not sure what I should be validating here. Zach very reasonably > argued that Clojure clearly permits this since Manifold works, but I'm not > sure if this is just a happy accident. Looking at the clojure.co

Namespace circular dependencies

2014-10-16 Thread Colin Fleming
Hi all, I'm a little confused about circular namespace dependencies and what is allowed and not allowed. My understanding was that Clojure did not permit cycles in the namespace dependency graph. I dimly recall seeing an error about this at some point and I had seen code in e.g. tools.namespace wh