packages feed

ghci-pretty 0.0.1 → 0.0.2

raw patch · 2 files changed

+51/−7 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ghci-pretty.cabal view
@@ -1,10 +1,29 @@ Name: ghci-pretty-Version: 0.0.1+Version: 0.0.2 Synopsis: colored pretty-printing within ghci description:-    a tiny package that combines the ipprint package and+    A tiny package that combines the ipprint package and     the hscolour package to provide colored pretty-printing-    in ghci+    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+ Homepage: https://github.com/larskuhtz/ghci-pretty License: MIT License-file: LICENSE
src/IPPrint/Colored.hs view
@@ -1,7 +1,32 @@--- ------------------------------------------------------ ----- Copyright © 2014 Lars Kuhtz <lakuhtz@gmail.com>--- ------------------------------------------------------ ---+-- |+-- Module: IPPrint.Colored+-- Copyright: Copyright © 2014 Lars Kuhtz <lakuhtz@gmail.com>+-- License: MIT+-- Maintainer: Lars Kuhtz <lakuhtz@gmail.com>+-- Stability: experimental+--+-- This module 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+-- module IPPrint.Colored ( cpprint ) where