packages feed

tasty-laws-0.2: tasty-laws.cabal

name:                tasty-laws
version:             0.2
synopsis:            Test common laws
description:
  Preassembled 'tasty' runners for property testing 'Monoid', 'Functor',
  'Applicative' and 'Monad' laws.
license:             BSD3
license-file:        LICENSE
author:              Danny Navarro
maintainer:          j@dannynavarro.net
category:            Testing
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  README.md CHANGELOG.md stack.yaml

source-repository head
  type: git
  location: git://github.com/jdnavarro/tasty-laws.git

library
  ghc-options:         -Wall
  default-language:    Haskell2010
  exposed-modules:     Test.Tasty.Laws.Applicative,
                       Test.Tasty.Laws.Functor,
                       Test.Tasty.Laws.Monad,
                       Test.Tasty.Laws.Monoid
  build-depends:       base >=4.6 && <4.9,
                       smallcheck >=1.1.1,
                       smallcheck-laws >=0.1,
                       smallcheck-series >=0.3,
                       tasty >=0.10,
                       tasty-smallcheck >=0.8.0.1
  if impl(ghc < 7.10)
     build-depends: transformers >=0.3.0.0

  if impl(ghc < 7.8)
     build-depends: tagged >=0.7.2

test-suite tasty
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests
  main-is:             tasty.hs
  ghc-options:         -Wall -threaded
  build-depends:       base >=4.6 && <4.9,
                       smallcheck >=1.1.1,
                       tasty >=0.10,
                       smallcheck-laws >=0.1,
                       tasty-laws

  if impl(ghc < 7.8)
     build-depends: tagged >=0.7.2