ghci-pretty: colored pretty-printing within ghci
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- Exposed modules use unallocated top-level names: IPPrint
A tiny package that combines the ipprint package and the hscolour package to provide colored pretty-printing in ghci.
Usage
Add the following lines to your ghci.conf
file:
-- Pretty printing of it import IPPrint.Colored :set -interactive-print=IPPrint.Colored.cpprint :def cp (\_ -> return ":set -interactive-print=IPPrint.Colored.cpprint") :def ncp (\_ -> return ":set -interactive-print=print")
Now you can enable colored pretty-printing in ghci with the commmand
:cp
The following command turns colored pretty-printing off again
:ncp
[Skip to Readme]
Properties
Versions | 0.0.1, 0.0.2, 0.0.2 |
---|---|
Change log | None available |
Dependencies | base (>=4 && <5), hscolour (>=1.20), ipprint (>=0.5) [details] |
License | MIT |
Copyright | Copyright (c) 2014 Lars Kuhtz <lakuhtz@gmail.com> |
Author | Lars Kuhtz |
Maintainer | Lars Kuhtz <lakuhtz@gmail.com> |
Category | Development |
Home page | https://github.com/larskuhtz/ghci-pretty |
Source repo | head: git clone https://github.com/larskuhtz/ghci-pretty |
Uploaded | by larsk at 2014-11-13T21:04:21Z |
Modules
[Index]
- IPPrint
Downloads
- ghci-pretty-0.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees