On Feb 7, 11:43 pm, samppi <rbysam...@gmail.com> wrote: > I never did figure out exactly why the behavior above occurred, but I > found a solution for my problem at > http://groups.google.com/group/clojure/browse_thread/thread/8c78b9934....
Yep, if you want to refer to a var that hasn't been defined, wrap your rule definition in a function. I took it one step further created a forward macro for that purpose, rather than redefining all my existing rule-generating functions as macros: (defmacro forward [rule] `(fn [src#] (~rule src#))) - James --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---