Skip to content

clojure.core/*print-meta*

View this page on ClojureDocs

Type: var Added: Clojure 1.0 Examples: 2 Runnable: 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.

Examples

by AtKaaZ on
by squiter on . May have evaluation errors.

Note by AtKaaZ

"printing an object" means via pr not print or println

Note by squiter

The *print-meta* works for print and pprint after Clojure 1.10.2. Source: https://clojure.atlassian.net/browse/CLJ-1445

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.