packages feed

pretty-types-0.2.2.0: pretty-types.cabal

name:                pretty-types
version:             0.2.2.0
synopsis:            A small pretty printing DSL for complex types.
description:         Please see README.md
homepage:            https://github.com/sheyll/pretty-types#readme
license:             BSD3
license-file:         LICENSE
author:              Sven Heyll
maintainer:          sven.heyll@gmail.com
copyright:           2016 Sven Heyll
category:            Text
build-type:          Simple
extra-source-files:   README.md
                    , stack.yaml
                    , .travis.yml
                    , .gitignore
                    , ChangeLog.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Data.Type.Pretty
  build-depends:       base >= 4.9 && < 5
                     , mtl >= 2.2 && < 3
                     , tagged >= 0.8 && < 1
  default-language:    Haskell2010
  ghc-options:         -Wall -funbox-strict-fields -fno-warn-unused-do-bind
  default-extensions:  BangPatterns
                     , ConstraintKinds
                     , CPP
                     , DataKinds
                     , DefaultSignatures
                     , DeriveDataTypeable
                     , DeriveFunctor
                     , DeriveGeneric
                     , FlexibleInstances
                     , FlexibleContexts
                     , FunctionalDependencies
                     , GADTs
                     , GeneralizedNewtypeDeriving
                     , KindSignatures
                     , MultiParamTypeClasses
                     , OverloadedStrings
                     , QuasiQuotes
                     , RecordWildCards
                     , RankNTypes
                     , ScopedTypeVariables
                     , StandaloneDeriving
                     , TemplateHaskell
                     , TupleSections
                     , TypeFamilies
                     , TypeInType
                     , TypeOperators
                     , TypeSynonymInstances

test-suite spec
  type:                exitcode-stdio-1.0
  ghc-options:         -Wall
  hs-source-dirs:      spec
  default-language:    Haskell2010
  main-is:             PrettyTypesSpec.hs
  build-depends:       base >= 4.9 && < 5
                     , hspec
                     , pretty-types
                     , tagged >= 0.8 && < 1
  default-language:    Haskell2010
  default-extensions:  BangPatterns
                     , ConstraintKinds
                     , CPP
                     , DataKinds
                     , DefaultSignatures
                     , DeriveDataTypeable
                     , DeriveFunctor
                     , DeriveGeneric
                     , FlexibleInstances
                     , FlexibleContexts
                     , FunctionalDependencies
                     , GADTs
                     , GeneralizedNewtypeDeriving
                     , KindSignatures
                     , MultiParamTypeClasses
                     , OverloadedStrings
                     , QuasiQuotes
                     , RecordWildCards
                     , RankNTypes
                     , ScopedTypeVariables
                     , StandaloneDeriving
                     , TemplateHaskell
                     , TupleSections
                     , TypeFamilies
                     , TypeInType
                     , TypeOperators
                     , TypeSynonymInstances
  ghc-options:       -Wall -O0 -j +RTS -A256m -n2m -RTS
                     -fwarn-unused-binds -fno-warn-unused-do-bind -fno-warn-missing-signatures

source-repository head
  type:     git
  location: https://github.com/sheyll/pretty-types