Clojure does not allow cyclic dependencies between namespaces. Java does allow cyclic dependencies between classes.
I'm not familiar with "appengine-clj". Are you certain that appengine.datastore is Clojure code, not Java code? If it's Java you should be using import. // Ben On Sat, Jul 16, 2011 at 18:14, Razvan Rotaru <razvan.rot...@gmail.com> wrote: > Hi, > > I'm trying to use r0man / appengine-clj, and when :use-ing the > datastore namespace I get a "cyclic load dependency". Doesn't clojure > allow such cyclic references? > > > (use 'appengine.datastore) > Cyclic load dependency: [ /appengine/datastore/entities ]->/appengine/ > datastore/query->[ /appengine/datastore/entities ]->/appengine/ > datastore > [Thrown class java.lang.Exception] > > Restarts: > 0: [QUIT] Quit to the SLIME top level > > Backtrace: > 0: clojure.core$check_cyclic_dependency.invoke(core.clj:4817) > 1: clojure.core$load.doInvoke(core.clj:4912) > 2: clojure.lang.RestFn.invoke(RestFn.java:408) > 3: clojure.core$load_one.invoke(core.clj:4729) > 4: clojure.core$load_lib.doInvoke(core.clj:4766) > 5: clojure.lang.RestFn.applyTo(RestFn.java:142) > 6: clojure.core$apply.invoke(core.clj:542) > 7: clojure.core$load_libs.doInvoke(core.clj:4800) > 8: clojure.lang.RestFn.applyTo(RestFn.java:137) > 9: clojure.core$apply.invoke(core.clj:544) > > > > Cheers, > Razvan > > -- > 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 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