On Sun, Mar 20, 2011 at 5:17 PM, Tassilo Horn <tass...@member.fsf.org> wrote: > Ken Wesson <kwess...@gmail.com> writes: > >>> the println prints {Locality localities.Locality}, which is correct. >>> However, my resolving function errors because there is no class >>> Locality. In the error message, I also print the value of >>> *schema-imports*, and in fact, it is {}. >> >> Does the resolving function run on, or use, another thread? > > No, it runs in the same thread. But some functions like `vseq' in the > example produce LazySeqs. So if LazySeq-realization computations are > run in a different thread by default, that would explain things.
They're not, but if the LazySeq realization is not happening until after the scope of your with-schema-imports is exited, it would explain a thing or two. You may need to sprinkle some doalls about. -- 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