I see that this handler uses `ex-str`, which is nice because `ex-str` in 
turn calls `*explain-out*` which is user-configurable. 

Is there a recommended way to configure `s/*explain-out*` such that this 
configuration will be run before other namespaces are loaded?

For instance, this code would set up Expound, but right now I'm not sure 
how to reliably run it before other namespaces load:

(require '[expound.alpha :as expound] '[clojure.spec.alpha :as s])
(alter-var-root #'s/*explain-out* (constantly (expound/custom-printer 
{:print-specs? false :show-valid-values? true :theme :figwheel-theme})))

Thanks,
Ben

On Thursday, March 21, 2019 at 10:35:32 PM UTC-6, Alex Miller wrote:
>
> 1.10.1-beta1 is now available. You can try it with clj using:
>       clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version 
> "1.10.1-beta1"}}}'
>
> 1.10.1-beta1 includes the following changes since 1.10.0:
>
>    - CLJ-2484 <https://dev.clojure.org/jira/browse/CLJ-2484> - Fix Java 
>    performance regression loading user.clj
>    - CLJ-2463 <https://dev.clojure.org/jira/browse/CLJ-2463> - 
>    clojure.main uncaught exception handling
>    - CLJ-2491 <https://dev.clojure.org/jira/browse/CLJ-2491> - Fix 
>    fragile tests that fail under Java 12
>
> The issue in CLJ-2484 was introduced in Java itself, specifically Java 1.8 
> u202, Java 11.0.2, and Java 12. It primarily affects loading of user.clj 
> and can cause a significant load time difference for anything done in 
> user.clj. CLJ-2463 affects how errors are reported from clojure.main. This 
> includes many Clojure uses under tools like Leiningen, such as compile, 
> test,  etc.  
>
> We would greatly appreciate feedback if you could check out this release 
> in your own project and give it a try!! 
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to