cabal-version: >= 1.10 name: step-function version: 0.2 x-revision: 3 synopsis: Staircase functions or piecewise constant functions category: Text description: Step functions, staircase functions or piecewise constant functions. Implemented as a default value and a series of transitions. Supports merging two step functions using a supplied merging function. . homepage: https://github.com/jonpetterbergman/step-function bug-reports: https://github.com/jonpetterbergman/stepfunction/issues author: Oleg Grenrus , Petter Bergman maintainer: Oleg Grenrus license: BSD3 license-file: LICENSE build-type: Simple extra-source-files: README.md Changelog.md tested-with: GHC==7.6.3 GHC==7.8.4 GHC==7.10.3 GHC==8.0.2 GHC==8.2.2 GHC==8.4.4 GHC==8.6.5 GHC==8.8.1 source-repository head type: git location: https://github.com/jonpetterbergman/step-function library default-language: Haskell2010 ghc-options: -Wall hs-source-dirs: src build-depends: base >=4.6 && <4.14, base-compat-batteries >=0.10.1 && <0.12, deepseq >=1.3.0.1 && <1.5, containers >=0.5.0.0 && <0.7, QuickCheck >=2.11.3 && <2.14 if !impl(ghc >= 8.0) -- We enforce the fact that with GHC-7.10 -- we have at least transformers-0.4.2.0 (the bundled one) -- which has 'Data.Functor.Classes' module. (transformers-0.3 doesn't have) if impl(ghc >= 7.10) build-depends: transformers >=0.4.2.0 && <0.6 else build-depends: transformers >=0.3.0.0 && <0.6, transformers-compat >=0.6.2 && <0.7 other-extensions: DeriveFunctor DeriveFoldable DeriveTraversable OverloadedStrings exposed-modules: Data.Function.Step Data.Function.Step.Discrete Data.Function.Step.Discrete.Open Data.Function.Step.Discrete.Closed test-suite merge type: exitcode-stdio-1.0 main-is: Merge.hs build-depends: base, step-function, QuickCheck hs-source-dirs: test default-language: Haskell2010