Thank you for the answers, and sorry for late reply. It seems I figured out what the problem was.
My code was placed at the top level of a file sci-clustering/examples.clj, and I was loading the namespace from REPL like this:(use 'sci-clustering.examples :reload-all). So it looks like clojure.core/use loads the libraries / namespaces inside a transaction, which makes sense. Here is the code: http://pastie.org/4130967 , and here is the stack trace: http://pastie.org/4130930 . Best regards, Daniil. On Friday, June 15, 2012 1:20:01 AM UTC+2, Stephen Compall wrote: > > On Thu, 2012-06-14 at 13:33 -0700, dmirylenka wrote: > > Could you please explain a bit more? > > > > I don't have any dosync in my code. > > Look through your backtrace for a call to > clojure.lang.LockingTransaction.runInTransaction. Its caller is using > dosync. > > > -- > Stephen Compall > ^aCollection allSatisfy: [:each|aCondition]: less is better > > -- 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