-
Notifications
You must be signed in to change notification settings - Fork 0
/
step-function.cabal
80 lines (72 loc) · 2.19 KB
/
step-function.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
cabal-version: >= 1.10
name: step-function
version: 0.2
x-revision: 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:
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.3
GHC==8.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.13,
base-compat-batteries >=0.10.1 && <0.11,
deepseq >=1.3.0.1 && <1.5,
containers >=0.5.0.0 && <0.7,
QuickCheck >=2.11.3 && <2.13
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