Also, are you sure that those examples you cited have not 'used' or 'imported' 
the vars such that a qualification wouldn't be necessary?

I'm away from my computer right now or I would double check all of this as a 
sanity check but I'm pretty sure this has consistently been the situation over 
my last few months of using Clojure full time.  

Maybe you or someone else could try playing around with it on your end (in 
Clojure proper)?



On Sep 16, 2015, at 11:39 AM, Jonathan Leonard <[email protected]> wrote:

>> 
>> On Sep 16, 2015, at 11:36 AM, David Nolen <[email protected]> wrote:
>> 
>> You are misinterpreting the documentation as far as I know. It's just 
>> referring to the fact that the protocol fn vars and the protocol var exist 
>> in the namespace they were declared.
> 
> But that is exactly my interpretation. Therefore to refer to those vars from 
> another namespace, they need to be qualified (or the namespace ‘used’ or 
> ‘imported' etc).
> 
> 
>> I have never encountered the issues you have described and as I've already 
>> said, you'll find plenty of code in the wild that does correspond to your 
>> interpretation.
> 
> Have you tried my minimal repro? It happens every time for me (both the 
> expected behavior works in Clojure and doesn’t in ClojureScript).
> 
> —Jonathan
> 
> 

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to