You're viewing version 1.2.0 of prn. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16
  • (prn & more)
Same as pr followed by (newline). Observes *flush-on-newline*

1 Example top

  • user=> (prn "fred" 1)
    "fred" 1
    nil
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:2848 top

(defn prn
  "Same as pr followed by (newline). Observes *flush-on-newline*"
  {:added "1.0"}
  [& more]
    (apply pr more)
    (newline)
    (when *flush-on-newline*
      (flush)))
Vars in clojure.core/prn: *flush-on-newline* apply defn flush newline pr when

Comments top

No comments for prn. Log in to add a comment.