packages feed

hedgehog-fn-0.5: hedgehog-fn.cabal

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

name:                hedgehog-fn
version:             0.5
synopsis:            Function generation for `hedgehog`
description:         Generating shrinkable, showable functions with `hedgehog`. See
                     `Hedgehog.Function` for example usages.
license:             BSD3
--                   Must be spelled with a 'C' for nix
license-file:        LICENCE
author:              Isaac Elliott
maintainer:          Queensland Functional Programming Lab <oᴉ˙ldɟb@llǝʞsɐɥ>
homepage:            https://github.com/qfpl/hedgehog-fn
bug-reports:         https://github.com/qfpl/hedgehog-fn/issues
category:            Testing
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  ChangeLog.md
tested-with:         GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3

source-repository    head
  type:              git
  location:          git@github.com:qfpl/hedgehog-fn.git

flag build-examples
  description: Build the example executables
  default: False

library
  exposed-modules:     Hedgehog.Function
                     , Hedgehog.Function.Internal
  build-depends:       base >=4.8 && <5
                     , contravariant >=1.4 && <1.6
                     , hedgehog >=0.5 && <0.6
                     , transformers >=0.5 && <0.6
  hs-source-dirs:      src
  default-language:    Haskell2010

executable example
  main-is:             Example.hs
  if flag(build-examples) && impl(ghc>=8.0)
    buildable:         True
  else
    buildable:         False
  hs-source-dirs:      example
  build-depends:       base >=4.8 && <5
                     , hedgehog >=0.5 && <0.6
                     , hedgehog-fn
  default-language:    Haskell2010