Skip to content

clojure.core/with-out-str

View this page on ClojureDocs

Type: macro Added: Clojure 1.0 Examples: 4 Runnable: 2
([& body])

Evaluates exprs in a context in which out is bound to a fresh StringWriter. Returns the string created by any nested printing calls.

Examples

by gstamp on
by viebel on
by ertugrulcetin on . May have evaluation errors.
by yogsototh on . May have evaluation errors.

See also


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