Fork me on GitHub
#code-reviews
<
2017-04-14
>
govind07:04:17

(defmacro def-sdk-fn [name spec body]
  `(defn ~name [& args#]
      (if true
        (e/wrong-number-of-args-error)
        (js/console.info "lawl")))))

govind07:04:05

@samueldev This should work. args# will generate a symbol with args suffixed with a hash to avoid name clashes.