This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-04-25
Channels
- # ai (8)
- # announcements (18)
- # architecture (6)
- # babashka (28)
- # bangalore-clj (1)
- # beginners (14)
- # calva (2)
- # cider (10)
- # clj-kondo (64)
- # clojure (87)
- # clojure-conj (3)
- # clojure-europe (28)
- # clojure-nl (2)
- # clojure-norway (11)
- # clojure-spec (24)
- # clojure-sweden (3)
- # clojurescript (4)
- # clr (8)
- # cursive (21)
- # data-science (5)
- # datomic (2)
- # defnpodcast (2)
- # figwheel-main (6)
- # graalvm (2)
- # hyperfiddle (15)
- # juxt (3)
- # lsp (5)
- # off-topic (32)
- # polylith (1)
- # practicalli (1)
- # rdf (7)
- # shadow-cljs (39)
- # sql (8)
- # xtdb (8)
we've done a lot of work on it but stalled out on integration with function definitions so it is not actively in work at this moment (but we do intend to get back to it)
There's no channel for zprint. Can I configure it to print a string as a multi-line string instead of inlining newlines? e.g. not "foo\nbar" but
foo
bar
but note,
foo
bar
and foo\nbar
are identical:
card=> "foo
bar"
"foo\nbar"
card=> (= "foo\nbar" "foo
bar")
true
I made a big map with config files as strings. It looks fine there because I wrote it but I want to print it readably.
I'll check out rewrite-clj. I haven't used it but maybe it can work. I don't know what it was you said but you gave me that idea.
> {:output {:real-le? true :real-le-length 20}}
are the things that control it. Where :real-le
stands for “real line ending”, as it works for more than just newlines
I found this https://github.com/clojure/clojure/blob/4090f405466ea90bbaf3addbe41f0a6acb164dbb/src/clj/clojure/pprint/pretty_writer.clj#L366 but idk how that helps me.