(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)
(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)
(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)
(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)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close