Skip to content

clojure.core/pr

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 4 Runnable: 2
([] [x] [x & more])

Prints the object(s) to the output stream that is the current value of out. Prints the object(s), separated by spaces if there is more than one. By default, pr and prn print in a way that objects can be read by the reader

Examples

by srid on
by srid on
by Dimagog on . May have evaluation errors.
by jafingerhut on . May have evaluation errors.

Note by jcburley

"Readable by the reader" means, for example, that a string is printed with surrounding double quotes and with quotes, backslashes, and nonprinting characters being escaped via a backslash prefix.

See also


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