Fork me on GitHub
#babashka
<
2021-11-20
>
awb9910:11:52

It would be great if fipp would work in babashka. With fipp you can spit edn files that are formatted nicely (so human readable). I think it is just a small thing to fix it. Seems some kind of java exception is not there. (defn pr-str-fipp [config] (with-out-str (fipp.clojure/pprint config {:width 40})))

borkdude11:11:02

You can use clojure.pprint which supports something similar

borkdude15:11:44

I think the equivalent there is:

(require '[clojure.pprint :as pp])

(binding [pp/*print-right-margin* 40]
  ,,,)

awb9913:11:42

thanks for the tipp! This works nicely!