This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-11
Channels
- # announcements (1)
- # beginners (35)
- # calva (28)
- # cider (14)
- # cljdoc (6)
- # cljs-dev (42)
- # cljsrn (2)
- # clojure (14)
- # clojure-spec (6)
- # clojure-uk (1)
- # clojurescript (13)
- # data-science (1)
- # emacs (3)
- # joker (3)
- # kaocha (1)
- # klipse (1)
- # leiningen (3)
- # off-topic (4)
- # pathom (10)
- # rewrite-clj (1)
- # shadow-cljs (28)
- # sql (5)
@alexmiller Please see these two examples. The latest version 'ca131c1bec353a6ebe4fe8e0a8b6f8825734ef42' behaves the same as the failing example.
Definitely related to (s/def ::bar ::baz)
since you can do this
user=> (s/def ::quux (s/keys :req-un [::baz]))
:user/quux
user=> (gen/sample (s/gen ::quux))
({:baz 0} {:baz -1} {:baz -1} {:baz -3} {:baz -3} {:baz -2} {:baz 0} {:baz 3} {:baz 0} {:baz -1})
user=>
Yup. Just confirmed that works now!