Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - razum2um/aprint: Awesome print: like clojure.pprint, but awesome

Awesome print: like clojure.pprint, but awesome. Contribute to razum2um/aprint development by creating an account on GitHub.

Visit SiteGitHub - razum2um/aprint: Awesome print: like clojure.pprint, but awesome

GitHub - razum2um/aprint: Awesome print: like clojure.pprint, but awesome

Awesome print: like clojure.pprint, but awesome. Contribute to razum2um/aprint development by creating an account on GitHub.

Powered by 0x5a.live ๐Ÿ’—

aprint: awesome print

screenshot

Usage

Clojars Project

(use 'aprint.core)
(aprint object)

;; or just like (pp)
(ap)

Why not just clojure.pprint/pprint?

Look, I have some data:

data

With pprint it takes 3+ awful screens:

pprint1

pprint2

pprint3

pprint4

With aprint:

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
  • @hlship for thinking in similar way: pretty

License

Copyright ยฉ 2014 Vlad Bokov

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Clojure Resources

are all listed below.

Resources

listed to get explored on!!

Made with โค๏ธ

to provide different kinds of informations and resources.