Liking cljdoc? Tell your friends :D
Mostly clj/s.
Exceptions indicated.

me.flowthing.pp

A pretty-printer for Clojure data structures.

Based on the algorithm described in "Pretty-Printing, Converting List to Linear Structure" by Ira Goldstein (Artificial Intelligence, Memo No. 279 in Massachusetts Institute of Technology A.I. Laboratory, February 1973).

A pretty-printer for Clojure data structures.

Based on the algorithm described in "Pretty-Printing, Converting List
to Linear Structure" by Ira Goldstein (Artificial Intelligence, Memo
No. 279 in Massachusetts Institute of Technology A.I. Laboratory,
February 1973).
raw docstring

-printcljs

(-print this writer opts)
source

pprintclj/s

(pprint x)
(pprint x opts)
(pprint writer
        x
        {:keys [max-width map-entry-separator]
         :or {max-width 72 map-entry-separator ","}
         :as opts})

Pretty-print an object.

Given one arg (an object), pretty-print the object into out using the default options.

Given two args (an object and an options map), pretty-print the object into out using the given options.

Given three args (a java.io.Writer, a object, and an options map), pretty-print the object into the writer using the given options.

If print-dup is true, pprint does not attempt to pretty-print; instead, it falls back to default print-dup behavior. ClojureScript does not support print-dup.

Options:

:max-width (long or ##Inf, default: 72) Avoid printing anything beyond the column indicated by this value.

:map-entry-separator (string, default: ",") The string to print between map entries. To not print commas between map entries, use an empty string.

Pretty-print an object.

Given one arg (an object), pretty-print the object into *out* using
the default options.

Given two args (an object and an options map), pretty-print the object
into *out* using the given options.

Given three args (a java.io.Writer, a object, and an options map),
pretty-print the object into the writer using the given options.

If *print-dup* is true, pprint does not attempt to pretty-print;
instead, it falls back to default print-dup behavior. ClojureScript
does not support *print-dup*.

Options:

  :max-width (long or ##Inf, default: 72)
    Avoid printing anything beyond the column indicated by this
    value.

  :map-entry-separator (string, default: ",")
    The string to print between map entries. To not print commas
    between map entries, use an empty string.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close