Fork me on GitHub
#cursive
<
2017-06-27
>
misha09:06:40

custom macro it is then opieop

misha10:06:35

(defmacro mydefrule [rule-name [tick rule-vec]]
  `(clara.rules/defrule ~rule-name [email protected]))
(macroexpand-1 '(mydefrule foo '[[:bar] => (println :foo)]))
=> (clara.rules/defrule foo [:bar] => (println :foo))