This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-30
Channels
- # announcements (2)
- # bangalore-clj (6)
- # beginners (33)
- # cider (4)
- # clojure (9)
- # clojure-brasil (2)
- # clojure-spec (6)
- # clojurescript (36)
- # cursive (13)
- # datomic (3)
- # emacs (1)
- # fulcro (6)
- # graalvm (2)
- # interop (4)
- # luminus (1)
- # midje (1)
- # pathom (1)
- # random (1)
- # reagent (4)
- # shadow-cljs (11)
- # tools-deps (42)
- # xtdb (10)
How is this possible?
(s/conform workspace ws-clj) ;; => :cljs.spec.alpha/invalid
(s/explain-str workspace ws-clj) ;; => "Success!\n"
s/valid?
also returns false.
Oh, it’s because the invocation was erring out 😕
For s/explain-str
to return “Success!\n” when an exception is thrown seems like a bug.
It is typically. What’s the spec and the value?
I tried reproducing it and couldn’t figure out exactly what I did (I was working at the REPL). If I run into it again I’ll try to find a solid repro.