https://github.com/razum2um/aprint
Awesome print: like clojure.pprint, but awesome
https://github.com/razum2um/aprint
Last synced: 7 months ago
JSON representation
Awesome print: like clojure.pprint, but awesome
- Host: GitHub
- URL: https://github.com/razum2um/aprint
- Owner: razum2um
- License: epl-1.0
- Created: 2014-08-30T21:33:03.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-26T17:56:03.000Z (about 10 years ago)
- Last Synced: 2024-05-02T07:41:26.528Z (over 1 year ago)
- Language: Clojure
- Homepage:
- Size: 850 KB
- Stars: 129
- Watchers: 8
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-clojure - aprint
README
# aprint: awesome print

## Usage
[](http://clojars.org/aprint)
(use 'aprint.core)
(aprint object)
;; or just like (pp)
(ap)
## Why not just clojure.pprint/pprint?
Look, I have some data:

With `pprint` it takes 3+ awful screens:




With `aprint`:

Awesome, yeah?
## Notes
If you'd like to get same layout without color codes:
;; n stands for "normalized" print
(nprint issues)
## Hint
Add this to your `~/.lein/profiles.clj`
{:user {:injections [(use 'aprint.core)]}}
## Acknoledgements
- @jdillon for awesome [jline2](https://github.com/jline/jline2)
- @hlship for thinking in similar way: [pretty](https://github.com/AvisoNovate/pretty)
## License
Copyright © 2014 Vlad Bokov
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.