• (fresh-line)
Make a newline if the Writer is not already at the beginning of the line.
N.B. Only works on ColumnWriters right now.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/pprint/cl_format.clj:1153 top

(defn fresh-line
  "Make a newline if the Writer is not already at the beginning of the line.
N.B. Only works on ColumnWriters right now."
  []
  (if (not (= 0 (get-column (:base @@*out*))))
    (prn)))
Vars in clojure.contrib.pprint/fresh-line: *out* = defn not prn deref
Used in 1 other vars fresh-line

Comments top

No comments for fresh-line. Log in to add a comment.