packages feed

pragmatic-show-0.2.0.0: pragmatic-show.cabal

-- Initial number-show.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                pragmatic-show
version:             0.2.0.0
synopsis:            Alternative Show class that gives shorter view if possible.
description:         The standard 'Show' class is handy for quickly viewing any Haskell
                     values without having to think about formatting. However, it often
                     produces needlessly clunky string representations, which are difficult
                     to parse by eye. This package offers a drop-in replacement which
                     attempts to keep the representation as readable as possible.
                     It does this through more graphical layout, omission of redundant
                     information, and (still quite conservative) trimming of low-significance
                     digits.
license:             GPL-3
license-file:        LICENSE
author:              Justus Sagemüller
homepage:            https://github.com/leftaroundabout/pragmatic-show
maintainer:          (@) jsag $ kth.se
-- copyright:           
category:            Text
build-type:          Simple
-- extra-source-files:  
cabal-version:       >=1.10

library
  exposed-modules:     Text.Show.Pragmatic
  -- other-modules:       
  other-extensions:    FlexibleInstances
  build-depends:       base >=4.8 && <5
                       , containers >=0.5 && <0.9
  -- hs-source-dirs:      
  default-language:    Haskell2010

test-suite pragmatic-show-test
  default-language:
    Haskell2010
  type:
    exitcode-stdio-1.0
  hs-source-dirs:
    test/tasty
  main-is:
    test.hs
  build-depends:
      base >= 4 && < 5
    , tasty >= 0.7
    , tasty-hunit
    , tasty-quickcheck
    , vector-space
    , pragmatic-show