Re: Need help with a macro with & rest parameter

2011-03-16 Thread Tassilo Horn
Hi all, raek helped me on IRC, and that's what finally works: (defmacro defcomparisontest "Define a GReQL/FunQL comparison test with name n on graph g that asserts the equality of the results evaluating greql and all funqls." [n g greql & funqls] `(deftest ~n ~g ;; ensure the graph is

Need help with a macro with & rest parameter

2011-03-16 Thread Tassilo Horn
Hi all, for testing my FunQL clojure graph query language against another query language (GReQL), I want to write tests like that: (defcomparisontest class-count-restricted (gbjg) ;; GReQL version "count(V{ClassDefinition})" ;; FunQL variant 1 (vcount (gbjg) :cls 'ClassDefinition) ;; Fu