Evening folks
I'm trying to write my first macro and am a bit confused about the error I'm running into
Can't use qualified name as parameter: cxengage-javascript-sdk.macros/args at line 15
(defmacro def-sdk-fn [name spec body]
`(defn ~name
([& args]
(if true
(e/wrong-number-of-args-error)
(js/console.info "lawl")))))
I want to defn
that supports n arguments
I know in not-macro-land that's simply done with & binding
& rest
, & args
or w.e