Re: compiled namespaces referencing each other

2010-02-06 Thread Mike Jarmy
OK, thanks guys On Sat, Feb 6, 2010 at 12:04 AM, ataggart wrote: > Circular references mean your namespace design is broken. > > -- > 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

Re: compiled namespaces referencing each other

2010-02-05 Thread ataggart
Circular references mean your namespace design is broken. -- 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

Re: compiled namespaces referencing each other

2010-02-05 Thread Richard Newman
which invokes "(compile 'foo.main)". I then get "java.lang.Exception: Unable to resolve symbol: a in this context". foo.main uses foo.util. foo.util uses foo.main. That's a circular reference. There are ways around this (e.g., create foo.main in foo.util, then use declare to ensure that `a`

compiled namespaces referencing each other

2010-02-05 Thread Mike Jarmy
I've followed the directions at http://java.ociweb.com/mark/clojure/article.html#Compiling to compile a simple clojure app. In my base directory, I have a dir called classes, and another called src. I am attempting to follow Richard Newman's advice in the thread called "newbie question: splitting