Re: namespace dependency

2014-03-21 Thread Dave Sann
thanks, that got me on the right track. it turns out that clojure.tools.namespace.dir/scan can do this. The reason I couldn't see the dependencies I was looking for was because I had managed to write (ns .. (require ...)) instead of (ns ... (:require ...)) in the files I was looking at. This ca

Re: namespace dependency

2014-03-21 Thread Chris Jeris
You might take a look at Tim McCormack's Nephila visualizer: https://github.com/timmc/nephila On Fri, Mar 21, 2014 at 6:33 AM, Dave Sann wrote: > Assuming a set of directories/classpath, is there a simple way to > determine the set of namespaces that are dependent on another namespace? > > in

namespace dependency

2014-03-21 Thread Dave Sann
Assuming a set of directories/classpath, is there a simple way to determine the set of namespaces that are dependent on another namespace? in this case, by dependent I mean (for example): A refers B B refers C D dependents of B are A dependents of C are B and A dependents of D are B and A depen