Dear all,

In my project, I need (in order to share constant trees in rule
definitions), to define new variable during macro expansion.

What I do currently:
I keep all the constant definitions and the rules definitions in an
atom and at the end, I call a macro at top level that define
everything, in the dependency order.

I don't like it very much, because it's ugly and because it forbid to
create constants in a "normal" macro.

Is there an idiomatic way to do that? Would the direct manipulation of
namespaces in the macro be better?

I mainly need it to work for compile-on-load, but if possible I would
like a solution that works too for aot.

 Best,

Nicolas.

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