Liking cljdoc? Tell your friends :D

clojure+.print


data-readersclj

(data-readers)
(data-readers opts)

List of all readers this library can install. Returns map of {symbol -> var}

Possible opts:

:include :: [sym ...] - list of tags to include (white list) :exclude :: [sym ...] - list of tags to exclude (black list)

List of all readers this library can install. Returns map of {symbol -> var}

Possible opts:

  :include :: [sym ...] - list of tags to include (white list)
  :exclude :: [sym ...] - list of tags to exclude (black list)
sourceraw docstring

defenumcljmacro

(defenum cls quoted-tag values)
source

defliteralcljmacro

(defliteral cls getter quoted-tag ctor)
source

install!clj

(install!)
(install! opts)

Install both printers and readers for most of Clojure built-in data structures.

After running this, things like atoms and transients will print like this:

(atom 123) ; => #atom 123 (transient [1 2 3]) ; => #transient [1 2 3]

and will become readable by reader:

(read-string "#atom 123") (read-string "#transient [1 2 3]")

Note: this representation doesn't track identity. So printing atom and reading it back will produce a new atom. Same goes for arrays, transients etc.

Possible opts:

:include :: [sym ...] - list of tags to include (white list) :exclude :: [sym ...] - list of tags to exclude (black list)

Install both printers and readers for most of Clojure built-in data structures.

After running this, things like atoms and transients will print like this:

  (atom 123)          ; => #atom 123
  (transient [1 2 3]) ; => #transient [1 2 3]

and will become readable by reader:

  (read-string "#atom 123")
  (read-string "#transient [1 2 3]")

Note: this representation doesn't track identity. So printing atom and reading it back
will produce a new atom. Same goes for arrays, transients etc.

Possible opts:

  :include :: [sym ...] - list of tags to include (white list)
  :exclude :: [sym ...] - list of tags to exclude (black list)
sourceraw docstring

install-printers!clj

(install-printers!)
(install-printers! opts)

Install printers for most of Clojure built-in data structures.

After running this, things like atoms and transients will print like this:

(atom 123) ; => #atom 123 (transient [1 2 3]) ; => #transient [1 2 3]

Possible opts:

:include :: [sym ...] - list of tags to include (white list) :exclude :: [sym ...] - list of tags to exclude (black list)

Install printers for most of Clojure built-in data structures.

After running this, things like atoms and transients will print like this:

  (atom 123)          ; => #atom 123
  (transient [1 2 3]) ; => #transient [1 2 3]

Possible opts:

  :include :: [sym ...] - list of tags to include (white list)
  :exclude :: [sym ...] - list of tags to exclude (black list)
sourceraw docstring

install-readers!clj

(install-readers!)
(install-readers! opts)

Install readers for most of Clojure built-in data structures.

After running this, things like atoms and transients will readable by reader:

(read-string "#atom 123") (read-string "#transient [1 2 3]")

Possible opts:

:include :: [sym ...] - list of tags to include (white list) :exclude :: [sym ...] - list of tags to exclude (black list)

Install readers for most of Clojure built-in data structures.

After running this, things like atoms and transients will readable by reader:

  (read-string "#atom 123")
  (read-string "#transient [1 2 3]")

Possible opts:

  :include :: [sym ...] - list of tags to include (white list)
  :exclude :: [sym ...] - list of tags to exclude (black list)
sourceraw docstring

make-print-arrayclj

(make-print-array tag)
source

make-print-refclj

(make-print-ref tag)
source

prefercljmacro

(prefer a b)
source

(print-atomic-boolean v2183 w__1808__auto__)
source

(print-atomic-int v2189 w__1808__auto__)
source

(print-atomic-ints a w)
source

(print-atomic-long v2195 w__1808__auto__)
source

(print-atomic-longs a w)
source

(print-atomic-ref v2201 w__1808__auto__)
source

(print-atomic-refs a w)
source

(print-bytes arr w)
source

(print-charset v2061 w__1808__auto__)
source

(print-chrono-unit v__1816__auto__ w__1817__auto__)
source

(print-day-of-week v__1816__auto__ w__1817__auto__)
source

(print-delay ref w)
source

(print-duration v2076 w__1808__auto__)
source

(print-file v2019 w__1808__auto__)
source

(print-fn f w)
source

(print-future ref w)
source

(print-inet-address v2043 w__1808__auto__)
source

(print-instant v2082 w__1808__auto__)
source

(print-local-date v2088 w__1808__auto__)
source

(print-local-date-time v2094 w__1808__auto__)
source

(print-local-time v2100 w__1808__auto__)
source

(print-month v__1816__auto__ w__1817__auto__)
source

(print-month-day v2106 w__1808__auto__)
source

(print-multifn f w)
source

(print-ns v1968 w__1808__auto__)
source

(print-objects arr w)
source

(print-offset-date-time v2112 w__1808__auto__)
source

(print-offset-time v2118 w__1808__auto__)
source

(print-path v2068 w__1808__auto__)
source

(print-period v2124 w__1808__auto__)
source

(print-promise ref w)
source

(print-queue v2010 w__1808__auto__)
source

(print-soft-ref v2031 w__1808__auto__)
source

(print-thread t w)
source

(print-time-unit v__1816__auto__ w__1817__auto__)
source

(print-transient-array-map m w)
source

(print-transient-hash-map m w)
source

(print-transient-set s w)
source

(print-transient-vector v w)
source

(print-uri v2049 w__1808__auto__)
source

(print-url v2055 w__1808__auto__)
source

(print-weak-ref v2037 w__1808__auto__)
source

(print-year v2130 w__1808__auto__)
source

(print-year-month v2136 w__1808__auto__)
source

(print-zone-id v2148 w__1808__auto__)
source

(print-zone-offset v2155 w__1808__auto__)
source

(print-zoned-date-time v2142 w__1808__auto__)
source

read-arrayclj

(read-array vals)
source

read-atomic-booleanclj

(read-atomic-boolean s__1810__auto__)
source

read-atomic-intclj

(read-atomic-int s__1810__auto__)
source

read-atomic-intsclj

(read-atomic-ints xs)
source

read-atomic-longclj

(read-atomic-long s__1810__auto__)
source

read-atomic-longsclj

(read-atomic-longs xs)
source

read-atomic-refclj

(read-atomic-ref s__1810__auto__)
source

read-atomic-refsclj

(read-atomic-refs xs)
source

read-bytesclj

(read-bytes s)
source

read-charsetclj

(read-charset s__1810__auto__)
source

read-chrono-unitclj

(read-chrono-unit kw__1818__auto__)
source

read-day-of-weekclj

(read-day-of-week kw__1818__auto__)
source

read-durationclj

(read-duration s__1810__auto__)
source

read-fileclj

(read-file s__1810__auto__)
source

read-fnclj

(read-fn sym)
source

read-inet-addressclj

(read-inet-address s__1810__auto__)
source

read-instantclj

(read-instant s__1810__auto__)
source

read-local-dateclj

(read-local-date s__1810__auto__)
source

read-local-date-timeclj

(read-local-date-time s__1810__auto__)
source

read-local-timeclj

(read-local-time s__1810__auto__)
source

read-monthclj

(read-month kw__1818__auto__)
source

read-month-dayclj

(read-month-day s__1810__auto__)
source

read-nsclj

(read-ns s__1810__auto__)
source

read-offset-date-timeclj

(read-offset-date-time s__1810__auto__)
source

read-offset-timeclj

(read-offset-time s__1810__auto__)
source

read-pathclj

(read-path s__1810__auto__)
source

read-periodclj

(read-period s__1810__auto__)
source

read-queueclj

(read-queue s__1810__auto__)
source

read-soft-refclj

(read-soft-ref s__1810__auto__)
source

read-stringsclj

(read-strings xs)
source

read-time-unitclj

(read-time-unit kw__1818__auto__)
source

read-uriclj

(read-uri s__1810__auto__)
source

read-urlclj

(read-url s__1810__auto__)
source

read-weak-refclj

(read-weak-ref s__1810__auto__)
source

read-yearclj

(read-year s__1810__auto__)
source

read-year-monthclj

(read-year-month s__1810__auto__)
source

read-zone-idclj

(read-zone-id s__1810__auto__)
source

read-zone-offsetclj

(read-zone-offset s__1810__auto__)
source

read-zoned-date-timeclj

(read-zoned-date-time s__1810__auto__)
source

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

× close