This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-08
Channels
- # architecture (8)
- # boot (18)
- # cider (33)
- # cljs-dev (35)
- # cljsrn (3)
- # clojure (77)
- # clojure-dev (6)
- # clojure-dusseldorf (1)
- # clojure-russia (1)
- # clojure-spec (4)
- # clojurescript (40)
- # cryogen (1)
- # cursive (4)
- # dirac (2)
- # emacs (1)
- # figwheel (10)
- # funcool (2)
- # hoplon (21)
- # incanter (2)
- # leiningen (1)
- # lumo (44)
- # off-topic (2)
- # onyx (53)
- # overtone (5)
- # pedestal (8)
- # re-frame (9)
- # reagent (37)
- # rum (9)
- # spacemacs (16)
- # sql (2)
- # testing (1)
- # unrepl (4)
- # untangled (4)
- # yada (16)
Consider this code
(s/def ::reqid number?)
(s/def ::subscription-element (s/keys :req [::reqid]))
(s/def ::subscriptions (s/coll-of ::subscription-element))
(defn next-reqid [scanner-subscriptions] :foo)
(s/fdef next-reqid
:args ::subscriptions
:ret number?)
(s/exercise-fn `next-reqid)
1. Trying to run s/exercise-fn
passing in N arguments, instead of a collection. How can I get s/exercise-fn
to pass in a collection?