function | since v0.0-3255 | clojure.pprint/fresh-line | Edit |
(fresh-line)
Make a newline if *out* is not already at the beginning of the line. If *out* is not a pretty writer (which keeps track of columns), this function always outputs a newline.
(defn fresh-line
[]
(if (satisfies? IDeref *out*)
(if (not (= 0 (get-column (:base @@*out*))))
(prn))
(prn)))