😎 https://twitter.com/borkdude/status/1155764513276387328
is something like pprint available in planck?
cljs.user=> (require '[cljs.pprint :as cp])
nil
cljs.user=> (cp/pprint {:foo 1 :bar 2})
{:foo 1, :bar 2}
nil
interesting. I tried [clojure.pprint] and this failed on me
I get: Unexpected error (Error) macroexpanding cljs.core$macros/macroexpand at (cljs/pprint.clj:84:31).
@borkdude Curious which version of Planck you are using. (`plk -V`) I can't repro ^
$ plk -V
2.24.0
Note that I'm not doing this from the REPL but with a scripthmm, also with the REPL:
$ plk
ClojureScript 1.10.520
cljs.user=> (require '[cljs.pprint])
Unexpected error (Error) macroexpanding cljs.core$macros/macroexpand at (cljs/pprint.clj:84:31).
form is not ISeqable
I'll try to re-install planck, maybe that helps
Hrm. That's odd.
$ plk -V
2.24.0
$ plk
ClojureScript 1.10.520
cljs.user=> (require '[cljs.pprint])
nil
that helped...
Linux?
no Mac
$ brew remove planck
$ brew install planck
$ plk -V
2.24.0
$ plk
ClojureScript 1.10.520
cljs.user=> (require '[cljs.pprint])
nil
cljs.user=>
🤷👻