What’s the latest way to automatically set print-namespaced-maps to false in your REPL?
@kenny https://stackoverflow.com/questions/46854715/turn-off-print-namespace-maps-in-repl#53714036
Doing a set in user.clj e.g.,,
(set! *print-namespace-maps* false)
throws on repl startup:
Exception in thread "main" Syntax error macroexpanding at (user.clj:4:1).
at clojure.lang.Compiler.load(Compiler.java:8177)
at clojure.lang.RT.loadResourceScript(RT.java:401)
at clojure.lang.RT.loadResourceScript(RT.java:388)
at clojure.lang.RT.maybeLoadResourceScript(RT.java:384)
at clojure.lang.RT.doInit(RT.java:506)
at clojure.lang.RT.init(RT.java:487)
at clojure.main.main(main.java:38)
Caused by: java.lang.IllegalStateException: Can't change/establish root binding of: *print-namespace-maps* with setuser.clj doesn't work, because it's evaluated too early in the REPL lifecycle, before the dynamic var is set up. I'm planning to add a space in the REPL config to have some forms that will be sent to the REPL after initialisation, I'll try to do that in the next release.
Excellent!