Georgi,

Depending on how the macros are arranged, you might be able to—see “Loop” at 
the bottom of 
http://blog.fikesfarm.com/posts/2015-12-18-clojurescript-macro-tower-and-loop.html

- Mike

> On Apr 7, 2016, at 6:01 AM, Georgi Danov <georgi.da...@gmail.com> wrote:
> 
> I am working on porting clj library that must be usable both from clj and 
> cljs. I am writing most of the code in .cljc files, however macros give me 
> some troubles as often they are defined and used in the same namespace.
> 
> What are the possibilities to have macro definition and usage in the same 
> namespace when using .cljc files? My experiment having the macros in 
> some_ns.clj and use them in some_ns.cljc caused weird error messages I did 
> not thoroughly debug.
> 
> -- 
> 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 https://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 https://groups.google.com/group/clojurescript.

Reply via email to