packages feed

ghci-pretty-0.0.2: ghci-pretty.cabal

Name: ghci-pretty
Version: 0.0.2
Synopsis: colored pretty-printing within ghci
description:
    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

Homepage: https://github.com/larskuhtz/ghci-pretty
License: MIT
License-file: LICENSE
Author: Lars Kuhtz
Maintainer: Lars Kuhtz <lakuhtz@gmail.com>
Copyright: Copyright (c) 2014 Lars Kuhtz <lakuhtz@gmail.com>
Category: Development
Build-type: Simple
Cabal-version: >= 1.16

extra-doc-files:
    README.md

extra-source-files:
    constraints

source-repository head
    type: git
    location: https://github.com/larskuhtz/ghci-pretty

Library
    default-language: Haskell2010
    hs-source-dirs: src

    exposed-modules:
        IPPrint.Colored

    build-depends:
        base == 4.*,
        ipprint >= 0.5,
        hscolour >= 1.20

    ghc-options: -Wall