Liking cljdoc? Tell your friends :D

datawalk.print


configclj/s

source

eagerlyclj/s

(eagerly x)

Sometimes dw-to-string encounters lazy sequences; those should be made eager for printing. We call into twice to compensate for the variation in where different sequence types conj onto (at some cost to performance).

Sometimes dw-to-string encounters lazy sequences; those should be made eager
for printing. We call `into` twice to compensate for the variation in where
different sequence types conj onto (at some cost to performance).
sourceraw docstring

limitlnclj/s

(limitln n s)
(limitln n s from-left?)
source

maybe-initialize-configclj/s

(maybe-initialize-config)
source

(print-data data)
source

(print-globals path saved the-past the-future)
source

stringify-derefableclj/s

(stringify-derefable data)
(stringify-derefable data top-level?)

At the top level, derefables pretend to be sequences -- ie they're printed with a number in front of them -- as an affordance to suggest to the user that they can be drilled into.

At the top level, derefables pretend to be sequences -- ie they're printed
with a number in front of them -- as an affordance to suggest to the user
that they can be drilled into.
sourceraw docstring

stringify-kvclj/s

(stringify-kv format-s index item)
source

stringify-mapclj/s

(stringify-map data)
(stringify-map data top-level?)

For each kv pair, stringify k and v, and print them colon-separated, chopped at max-line-length chars, and (if top-level?) prepended with an index number (4 chars).

For each kv pair, stringify k and v, and print them colon-separated, chopped
at max-line-length chars, and (if top-level?) prepended with an index number
(4 chars).
sourceraw docstring

stringify-seqclj/s

(stringify-seq data)
(stringify-seq data top-level)

For each item, print it, chopped at max-line-length chars, and optionally prepended with an index number (4 chars).

For each item, print it, chopped at max-line-length chars, and optionally
prepended with an index number (4 chars).
sourceraw docstring

stringify-seq-itemclj/s

(stringify-seq-item _ item)
source

stringify-seq-item-numberedclj/s

(stringify-seq-item-numbered index item)
source

stringify-setclj/s

(stringify-set data)
(stringify-set data top-level?)

Preserve the literal #{} representation

Preserve the literal #{} representation
sourceraw docstring

to-debug-stringclj/s

(to-debug-string x)
source

to-stringclj/s

(to-string data)
source

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

× close