This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-03
Channels
- # aws-lambda (6)
- # beginners (38)
- # boot (39)
- # cider (44)
- # cljs-dev (9)
- # cljsrn (96)
- # clojure (142)
- # clojure-dev (6)
- # clojure-dusseldorf (8)
- # clojure-greece (45)
- # clojure-ireland (3)
- # clojure-italy (7)
- # clojure-norway (6)
- # clojure-russia (26)
- # clojure-sg (16)
- # clojure-spec (31)
- # clojure-uk (39)
- # clojurescript (125)
- # cursive (38)
- # datascript (4)
- # datomic (18)
- # emacs (34)
- # figwheel (2)
- # hoplon (3)
- # immutant (23)
- # jobs (1)
- # lambdaisland (2)
- # lumo (13)
- # off-topic (77)
- # om (8)
- # onyx (9)
- # pedestal (2)
- # play-clj (1)
- # re-frame (52)
- # reagent (3)
- # rum (4)
- # spacemacs (2)
- # specter (4)
- # unrepl (37)
- # untangled (8)
- # vim (79)
- # yada (1)
FYI, with Clojure 1.9.0 Alpha 16, in a bare boot repl
(outside a project), I see this odd behavior:
boot.user=> (doc pr-str)
-------------------------
clojure.core/pr-str
([& xs])
pr to a string, returning it
java.lang.ClassNotFoundException: clojure.spec.alpha$get_spec
java.lang.NoClassDefFoundError: clojure/spec/alpha$get_spec
Can anyone else repro?
(and, clearly, it is available since I can require
that ns and use the function just fine — this seems like an AOT-related glitch?)Yeah, we're seeing similar things in https://github.com/jeaye/orchestra/pull/3
Ah, interesting. I haven’t noticed any other problems with Alpha 16 in regular application contexts. Yet.
This is the same problem and is basically a problem with mixing source and AOT compiled code (CLJ-1544). I released a new version of spec.alpha that should fix it (by AOT compiling spec). The new version is 0.1.108.
Thanks @alexmiller -- we'll have to explicitly rely on that to solve the problem? Until Alpha 17 of core?
I can confirm that boot -d org.clojure/spec.alpha:0.1.108 repl
does indeed not show that problem!