You could put it in user.clj, but it would be reasonable to have a ticket 
for this.

On Sunday, March 31, 2019 at 8:58:30 PM UTC-5, Ben Brinckerhoff wrote:
>
> 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
>
>

-- 
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