@hackage ipprint0.6
Tiny helper for pretty-printing values in ghci console
Categories
License
BSD-3-Clause
Maintainer
gleb.alexeev@gmail.com
Links
Versions
Installation
Dependencies (3)
- base >=2 && <=5
- haskell-src
- sr-extra >=1.46.3.1 Show all…
Dependents (4)
@hackage/acme-everything, @hackage/funnyprint, @hackage/visual-graphrewrite, @hackage/ghci-pretty
Tiny helper for pretty-printing values in ghci console
Usage example:
Prelude> let e = replicate 5 [1..14] -- value we want to print
Prelude> :m + IPPrint
Prelude IPPrint> pprint e
[[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14],
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14],
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14],
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14],
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]]Terminal width support added by Jean-Marie Gaillourdet.