dynamic var | since v0.0-927 | clojure.core/*print-meta* | Edit |
Determines if metadata should be included when printing an object. Defaults to false.
(println ^:foo {:a 1})
;; Prints:
;; {:a 1}
(binding [*print-meta* true]
(println ^:foo {:a 1}))
;; Prints:
;; ^{:foo true} {:a 1}
If set to logical true, when printing an object, its metadata will also be printed in a form that can be read back by the reader. Defaults to false.
(def
^{:dynamic true}
*print-meta* false)