All notable changes to this project will be documented in this file.
Print top-level map entries (clojure.lang.MapEntry
) like vectors #5
Prior to this change, pp printed top-level map entries without delimiters:
user=> (pp/pprint (clojure.lang.MapEntry. :a :b))
:a :b
nil
After:
user=> (pp/pprint (clojure.lang.MapEntry. :a :b))
[:a :b]
nil
Add ClojureScript support
Add explicit (unit tested) Babashka support
Add :map-entry-separator
option
The :map-entry-separator
option lets you tell pp not to print
commas. For example:
user=> (pp/pprint {:a 1 :b 2} {:map-entry-separator ""})
{:a 1 :b 2}
nil
Fix *flush-on-newline*
behavior
If *flush-on-newline
is set to true
(the default), like clojure.pprint, pp now only flushes after pretty-printing the entire form, instead of flushing after every newline.
Fix reader macro edge case
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close