Liking cljdoc? Tell your friends :D

fancy.layout


*wrap-width*clj/s

source

CountableCharsclj/s≠protocol

Implemented by types that can be represented by a known number of characters

Implemented by types that can be represented by a known number of characters

count-charsclj/s

(count-chars this)

Count the number of characters that this would require to pr it

Count the number of characters that `this` would require to `pr` it
sourceraw docstring

FixedWidthLayoutclj/s≠protocol

A protocol for fixed-width layout of data structures for pretty-printing purposes.

A protocol for fixed-width layout of data structures for pretty-printing purposes.

pr-seqclj/s

(pr-seq this offset)

Return a seq (of characters, or strings, or seqs of strings, etc.) representing this. When called, the current line position is at offset, and if the result requires line breaks, it is the responsibility of the implementation to indent offset spaces after the line break

Return a seq (of characters, or strings, or seqs of strings, etc.) representing `this`.
When called, the current line position is at `offset`, and if the result
requires line breaks, it is the responsibility of the implementation to
indent `offset` spaces after the line break
sourceraw docstring

pr-prettyclj/s

(pr-pretty)
(pr-pretty x)
(pr-pretty x & more)

Like clojure.core/pr, but prettier, albeit less conservative with whitespace.

Like clojure.core/pr, but prettier, albeit less conservative with whitespace.
sourceraw docstring

Printableclj/s≠protocol

-pr-rawclj/s

(-pr-raw item)

Print a CharSequence (including Strings) or char directly to out

Print a CharSequence (including Strings) or char directly to *out*
source

prn-prettyclj/s

(prn-pretty & more)

Same as pr-pretty followed by (newline).

Same as pr-pretty followed by (newline).
sourceraw docstring

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

× close