This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-29
Channels
- # architecture (2)
- # bangalore-clj (2)
- # beginners (177)
- # boot (1)
- # cider (36)
- # clara (15)
- # cljs-dev (30)
- # cljs-experience (6)
- # cljsrn (7)
- # clojure (94)
- # clojure-argentina (2)
- # clojure-brasil (1)
- # clojure-dusseldorf (6)
- # clojure-greece (1)
- # clojure-italy (18)
- # clojure-norway (4)
- # clojure-quebec (1)
- # clojure-russia (28)
- # clojure-sg (3)
- # clojure-spec (12)
- # clojure-turkiye (1)
- # clojure-uk (12)
- # clojurescript (169)
- # code-reviews (4)
- # community-development (2)
- # core-async (6)
- # core-matrix (6)
- # cursive (35)
- # datomic (18)
- # devcards (4)
- # euroclojure (1)
- # hoplon (2)
- # keechma (4)
- # klipse (2)
- # leiningen (1)
- # luminus (16)
- # mount (1)
- # off-topic (34)
- # om (31)
- # pedestal (6)
- # re-frame (14)
- # reagent (33)
- # specter (4)
- # uncomplicate (8)
- # unrepl (15)
- # untangled (24)
- # yada (25)
@doglooksgood there’s a post about it in the google group
but is there any problems with current version of clojure.spec? any feature is missing or critical bug?
I don't think there are "critical" bugs, but there are a few bugs left to fix. missing features: certainly, but that's quite subjective, depends on what you need
I don't understand why generating this gives stack overflows:
(s/def ::thing string?)
(s/def ::test (s/+ (s/cat :thing (s/* ::thing))))
my use case is something like this:
(s/def ::thing string?)
(s/def ::other-thing string?)
(s/def ::test (s/+ (s/cat :thing (s/* ::thing)
:other (s/* ::other-thing))))
@bbss when using a s/cat
inside of another you must wrap it with s/spec
try this:
(s/def ::thing string?)
(s/def ::other-thing string?)
(s/def ::test (s/+ (s/spec (s/cat :thing (s/* ::thing)
:other (s/* ::other-thing)))))
(s/exercise ::test)
@wilkerlucio thank you, missed that from the docs!