This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-30
Channels
- # announcements (3)
- # aws (5)
- # beginners (71)
- # boot (7)
- # calva (74)
- # cider (6)
- # clj-kondo (2)
- # cljs-dev (5)
- # clojars (6)
- # clojure (84)
- # clojure-dev (7)
- # clojure-europe (1)
- # clojure-italy (23)
- # clojure-nl (43)
- # clojure-sanfrancisco (1)
- # clojure-spec (4)
- # clojure-uk (173)
- # clojurebridge (1)
- # clojurescript (14)
- # cursive (44)
- # datomic (9)
- # duct (2)
- # emacs (2)
- # fulcro (4)
- # graalvm (4)
- # graphql (27)
- # hoplon (6)
- # keechma (50)
- # off-topic (3)
- # other-languages (8)
- # pathom (2)
- # pedestal (14)
- # planck (5)
- # re-frame (3)
- # reitit (6)
- # ring (2)
- # robots (2)
- # spacemacs (9)
- # tools-deps (15)
- # vim (44)
So I have this fdef
(s/fdef define-fx
[env]
:args (s/cat :fx-name ::fx-name
(s/keys* :req [::fx-name]
:req-un [(or ::orc-string ::orc-filepath ::orc-internal-filepath)]
:opt [::fx-form ::ctl-instr ::num-outs
::init-hook ::release-hook
::release-time ::config]))
:ret :instrument-controller fn?)
for this macro
(defmacro define-fx [fx-name & {:keys [orc-string fx-form ctl-instr num-outs release-time
init-hook release-hook instance-config] :as env}] )
but there seems to be no instrumentation if I forget to provide required args, or type them incorrectly? Any obvious error here?