A Clojure pretty-printing library that provides compact, colorful, and readable output for REPL debugging.
aprint is a Clojure library that provides enhanced pretty-printing for data structures in the REPL. It solves the problem of verbose and hard-to-read output from clojure.pprint by offering compact, color-coded layouts that make debugging and data inspection faster and more enjoyable.
Clojure developers who frequently work in the REPL and need to inspect complex nested data structures during development or debugging sessions.
Developers choose aprint over clojure.pprint because it dramatically reduces output verbosity, adds helpful syntax highlighting, and integrates seamlessly into REPL workflows, making data exploration more efficient and visually intuitive.
Awesome print: like clojure.pprint, but awesome
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Drastically reduces screen clutter by printing nested data structures in a space-efficient way, as shown in README screenshots where pprint output spans multiple screens versus aprint's single screen.
Adds color coding to different data types like strings, numbers, and keywords, enhancing visual distinction and making REPL debugging more intuitive, based on the provided examples.
Offers the nprint function for the same compact layout without color codes, useful for logging or plain-text output where ANSI codes are undesirable, as noted in the README.
Can be injected into Leiningen profiles for automatic availability in REPL sessions, simplifying setup for developers using this build tool, per the hint in the README.
Integration instructions are tailored only for Leiningen, with no guidance for other Clojure tools like Boot or CLI, limiting usability in diverse development environments.
README does not mention options to customize colors, layout rules, or output thresholds, which might be restrictive for users with specific aesthetic or functional needs.
Relies on the jline2 library for color support, which could introduce compatibility issues or extra dependencies in some Clojure setups, as acknowledged in the acknowledgments.