This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-01
Channels
- # announcements (3)
- # aws (1)
- # babashka (56)
- # beginners (42)
- # calva (9)
- # cider (6)
- # circleci (5)
- # clj-kondo (17)
- # cljs-experience (1)
- # cljsjs (2)
- # clojure (106)
- # clojure-australia (1)
- # clojure-europe (36)
- # clojure-germany (5)
- # clojure-italy (13)
- # clojure-nl (14)
- # clojure-spec (19)
- # clojure-uk (27)
- # clojurescript (27)
- # cursive (20)
- # datomic (24)
- # events (2)
- # fulcro (11)
- # graalvm (1)
- # jobs (6)
- # lsp (6)
- # malli (5)
- # meander (36)
- # membrane (17)
- # nbb (4)
- # nextjournal (86)
- # off-topic (18)
- # pathom (3)
- # polylith (5)
- # portal (14)
- # rdf (5)
- # re-frame (5)
- # releases (6)
- # remote-jobs (3)
- # reveal (2)
- # ring (6)
- # shadow-cljs (171)
- # tools-deps (61)
- # vim (10)
- # xtdb (6)
I am having a problem and I don't get why it is so different now. Working with Datomic recently and I am not able to pretty print the query output somehow. It is always printed in a single long line. How do you guys do that? I am using cider-nrepl and conjure.
And did anything change, version-wise? The pprinting is managed by nREPL through middleware I think, although conjure specifies a flag that asks for it iirc.
probably...I fiddled around with nrepl-cider but it didn't solve the issue. the strange thing is that other data is properly formatted but only the datomic-query returns it onelined... :thinking_face: really odd... clojure.pprint/pprint doesn't improve it either
serialized :thinking_face: it is properly formatted and colored in the nvim-conjure-repl like this
#{[#inst "2019-05-30T00:00:00.000-00:00"] [#inst "2019-04-30T00:00:00.000-00:00"] [#inst "2018-12-31T00:00:00.000-00:00"]...
I've had multiple entries in the vectors as well and I would have expected it to be printed out under each other to be more readable and that's actually what I get when e.g. running an http-request
#{[:trace-redirects [" "]]
[:orig-content-encoding nil]
[:cached nil]
[:http-client
#object[org.apache.http.impl.client.InternalHttpClient 0x597810da "org.apache.http.impl.client.InternalHttpClient@597810da"]]
[:repeatable? false]
[:chunked? false]
[:headers
{"Server" "nginx",
"Age" "11",
"Content-Type" "text/html; charset=UTF-8",
"X-Content-Type-Options" "nosniff",
"x-frame-options" "DENY",
"Strict-Transport-Security" "max-age=15768000",
"Connection" "close",
"Accept-Ranges" "bytes",
"Date" "Tue, 01 Feb 2022 10:32:19 GMT",
"Vary" "X-Export-Format, X-Export-Agent, Accept-Encoding",
"Last-Modified" "Tue, 01 Feb 2022 10:32:19 GMT",
"X-XSS-Protection" "1; mode=block",
"Cache-Control" "no-store"}]
[:body
"\n<html\n lang=\"de\"\n data-responsive\n data-consentmanagement\n>\n <head>\n <script>performance.mark('HEAD Anfang');</script>\n \n\n \n\n<
[:protocol-version {:name "HTTP", :major 1, :minor 1}]
[:reason-phrase "OK"]
[:request-time 506]
[:status 200]
[:streaming? true]
[:length -1]}