All notable changes to this project will be documented in this file.
-
Improve printing of Java arrays.
pp now prints Java arrays like clojure.pprint, but without commas:
user=> (clojure.pprint/pprint (char-array [\c \p \p])) [\c, \p, \p] user=> (me.flowthing.pp/pprint (char-array [\p \p])) [\p \p]
-
Improve performance (by avoiding boxed math)
- Print map entries (
clojure.lang.MapEntry
) like vectors everywhere except within maps #6
-
Print top-level map entries (
clojure.lang.MapEntry
) like vectors #5Prior 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
- DOA, ignore
-
Add ClojureScript support
-
Add explicit (unit tested) Babashka support
-
Add
:map-entry-separator
optionThe
: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*
behaviorIf
*flush-on-newline
is set totrue
(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
- Initial release