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.  But
then, dynamic scoping would be impossible at all...

If you want, you can clone the project from my hg repository:

  https://anonymous:sec...@hg.uni-koblenz.de/horn/funql

In the test core.clj, the last test has a TODO.  As it is, it works
fine, but as soon as you replace the qualified names with simple names,
it'll break as described.

Bye,
Tassilo

-- 
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

Reply via email to