Thanks Gary!

On Mon, Aug 25, 2014 at 11:23 PM, Gary Trakhman <gary.trakh...@gmail.com>
wrote:

> You can't load CLJS namespaces from clojure, you'll have to fully-qualify
> CLJS symbols inside the emitted macro code, eg
> https://github.com/clojure/core.async/blob/master/src/main/clojure/cljs/core/async/macros.clj?MobileOptOut=1#L16
> On Mon, Aug 25, 2014 at 4:15 PM, Yehonathan Sharvit <vie...@gmail.com>
> wrote:
>> I would like to write  a macro that calls a cljs function.
>> The problem is that the macro is defined inside a clj file and when I
>> require the namespace that contains the cljs code I receive the following
>> compilation error:
>>
>>
>>
>>
>> Caused by: java.io.FileNotFoundException: Could not locate
>> user__init.class or user.clj on classpath:
>>
>>
>> This is my code snippet:
>>
>>
>> (ns cljs_explore.macros
>>   (:require  [user :as user]))
>>
>>
>> --
>> 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 clojurescript+unsubscr...@googlegroups.com.
>> To post to this group, send email to clojurescript@googlegroups.com.
>> Visit this group at http://groups.google.com/group/clojurescript.
>>
> -- 
> Note that posts from new members are moderated - please be patient with your 
> first post.
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "ClojureScript" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/clojurescript/pgqaI90dkiM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to