step-function-0.2.0.1: step-function.cabal
cabal-version: >=1.10
name: step-function
version: 0.2.0.1
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 <oleg.grenrus@iki.fi>, Petter Bergman <jon.petter.bergman@gmail.com>
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
Changelog.md
README.md
tested-with:
GHC ==7.6.3
|| ==7.8.4
|| ==7.10.3
|| ==8.0.2
|| ==8.2.2
|| ==8.4.4
|| ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.7
|| ==9.4.4
|| ==9.6.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.19
, containers >=0.5.0.0 && <0.7
, deepseq >=1.3.0.1 && <1.5
, QuickCheck >=2.11.3 && <2.15
if !impl(ghc >=8.0)
build-depends: semigroups >=0.18.4 && <0.20
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.7
else
build-depends:
transformers >=0.3.0.0 && <0.7
, transformers-compat >=0.6.2 && <0.8
other-extensions:
DeriveFoldable
DeriveFunctor
DeriveTraversable
OverloadedStrings
exposed-modules:
Data.Function.Step
Data.Function.Step.Discrete
Data.Function.Step.Discrete.Closed
Data.Function.Step.Discrete.Open
test-suite merge
type: exitcode-stdio-1.0
main-is: Merge.hs
build-depends:
base
, QuickCheck
, step-function
hs-source-dirs: test
default-language: Haskell2010