Fork me on GitHub
#clojure-dev
<
2020-06-25
>
vlaaad19:06:46

useful to have in core?

(defn- string-builder-rf
  ([] (StringBuilder.))
  ([^StringBuilder ret] (.toString ret))
  ([^StringBuilder acc in] (.append acc in)))
or perhaps some form of into-str? perhaps clojure.string/into?

vlaaad19:06:59

(although it's thematically more similar to sequence than into)