packages feed

pretty-display-0.1.9: pretty-display.cabal

name:                pretty-display
version:             0.1.9
synopsis:            Typeclass for human-readable display
description:         <<https://travis-ci.org/jsermeno/pretty-display.svg?branch=master>>
                     <<https://img.shields.io/badge/language-Haskell-blue.svg>>
                     <<http://img.shields.io/badge/license-BSD3-brightgreen.svg>>
                     .
                     In haskell the @Show@ typeclass is used to display a
                     syntactically correct Haskell expression. However, there
                     are times when you want to provide a richer display for a
                     value while still retaining the benefits of having
                     derived @Show@ instances. This can be especially useful
                     when working interactively in ghci. @Text.Display@
                     provides a tiny registered package with the @Display@
                     typeclass just for this purpose.
                     .
                     <<https://cloud.githubusercontent.com/assets/197051/20434593/74a2b66c-ad76-11e6-9eef-cff6352d08b1.png>>
                     .
                     For examples visit the
                     <https://github.com/githubuser/pretty-display#readme README>

homepage:            https://github.com/githubuser/pretty-display#readme
license:             BSD3
license-file:        LICENSE
author:              Justin Sermeno
maintainer:          Justin Sermeno
copyright:           Copyright (c) 2014-2016 Justin Sermeno
category:            Text
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC==8.0.1, GHC==7.10.3, GHC==7.10.2, GHC==7.8.4

library
  hs-source-dirs:      src
  exposed-modules:     Text.Display
  build-depends:       base >= 4.7 && < 5
                     , text
                     , pretty-show
  default-language:    Haskell2010

executable pretty-display-example
  hs-source-dirs:      example
  main-is:             Basic.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , pretty-display
                     , pretty-show
                     , ansi-wl-pprint
  default-language:    Haskell2010

test-suite pretty-display-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , pretty-display
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/githubuser/pretty-display