forked from reflex-frp/patch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpatch.cabal
114 lines (102 loc) · 3.26 KB
/
patch.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Name: patch
Version: 0.0.8.2
Synopsis: Data structures for describing changes to other data structures.
Description:
Data structures for describing changes to other data structures.
.
In this library, a patch is something which can be applied, analogous to a
function, and which distinguishes returning the argument it was provided from
returning something else.
License: BSD3
License-file: LICENSE
Author: Ryan Trinkle
Maintainer: maintainer@obsidian.systems
Stability: Experimental
Category: FRP
Build-type: Simple
Cabal-version: >=1.10
homepage: https://obsidian.systems
bug-reports: https://github.com/reflex-frp/patch/issues
extra-source-files:
README.md
ChangeLog.md
tested-with:
GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.1 || ==9.2.5 || ==9.4.5 || ==9.6.1
GHCJS ==8.6 || ==8.10
flag split-these
description: Use split these/semialign packages
manual: False
default: True
flag hlint
description: Enable hlint test
default: True
library
hs-source-dirs: src
default-language: Haskell2010
build-depends: base >= 4.9 && < 4.20
, constraints-extras >= 0.3 && < 0.5
, commutative-semigroups >= 0.0 && < 0.2
, containers >= 0.6 && < 0.7
, dependent-map >= 0.3 && < 0.5
, dependent-sum >= 0.6 && < 0.8
, lens >= 4.7 && < 5.3
, indexed-traversable >= 0.1 && < 0.2
, semigroupoids >= 4.0 && < 7
, transformers >= 0.5.6.0 && < 0.7
, witherable >= 0.3 && < 0.5
if impl(ghc < 8.6)
build-depends: base-orphans >= 0.8 && < 0.9
exposed-modules: Data.Functor.Misc
, Data.Monoid.DecidablyEmpty
, Data.Patch
, Data.Patch.Class
, Data.Patch.DMap
, Data.Patch.DMapWithMove
, Data.Patch.IntMap
, Data.Patch.Map
, Data.Patch.MapWithMove
, Data.Patch.MapWithPatchingMove
, Data.Patch.PatchOrReplacement
, Data.Semigroup.Additive
ghc-options: -Wall -fwarn-redundant-constraints -fwarn-tabs
default-extensions: PolyKinds
if flag(split-these)
build-depends: these >= 1 && <1.3
, semialign >=1 && <1.4
, monoidal-containers >= 0.6 && < 0.7
else
build-depends: these >= 0.4 && <0.9
, monoidal-containers == 0.4.0.0
test-suite tests
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: tests.hs
hs-source-dirs: test
build-depends: base
, patch
, containers
, hedgehog
, HUnit
if impl(ghcjs)
buildable: False
test-suite hlint
-- hlint doesn't support ghc-9.6 yet (as of version 3.5)
if impl(ghc >= 9.6)
buildable: False
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: hlint.hs
hs-source-dirs: test
build-depends: base
, directory
, filepath
, filemanip
if impl(ghc < 9.2)
build-depends: hlint (< 2.1 || >= 2.2.2) && < 3.5
else
build-depends: hlint >= 3.5 && < 3.6
if impl(ghcjs) || !flag(hlint)
buildable: False
source-repository head
type: git
location: https://github.com/reflex-frp/patch