on 5b55c0e help sign in
patch/patch.cabal
96 lines 2.8 kB history raw
1Name: patch
2Version: 0.0.4.0
3Synopsis: Data structures for describing changes to other data structures.
4Description:
5 Data structures for describing changes to other data structures.
6 .
7 In this library, a patch is something which can be applied, analogous to a
8 function, and which distinguishes returning the argument it was provided from
9 returning something else.
10License: BSD3
11License-file: LICENSE
12Author: Ryan Trinkle
13Maintainer: maintainer@obsidian.systems
14Stability: Experimental
15Category: FRP
16Build-type: Simple
17Cabal-version: >=1.10
18homepage: https://obsidian.systems
19bug-reports: https://github.com/reflex-frp/patch/issues
20extra-source-files:
21 README.md
22 ChangeLog.md
24tested-with:
25 GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1
26 GHCJS ==8.4
28flag split-these
29 description: Use split these/semialign packages
30 manual: False
31 default: True
33library
34 hs-source-dirs: src
35 default-language: Haskell2010
36 build-depends: base >= 4.9 && < 4.15
37 , constraints-extras >= 0.3 && < 0.4
38 , containers >= 0.6 && < 0.7
39 , dependent-map >= 0.3 && < 0.5
40 , dependent-sum >= 0.6 && < 0.8
41 , lens >= 4.7 && < 5
42 , semigroupoids >= 4.0 && < 6
43 , transformers >= 0.5.6.0 && < 0.6
44 , witherable >= 0.3 && < 0.4
46 exposed-modules: Data.Functor.Misc
47 , Data.Monoid.DecidablyEmpty
48 , Data.Patch
49 , Data.Patch.Class
50 , Data.Patch.DMap
51 , Data.Patch.DMapWithMove
52 , Data.Patch.IntMap
53 , Data.Patch.Map
54 , Data.Patch.MapWithMove
55 , Data.Patch.MapWithPatchingMove
57 ghc-options: -Wall -fwarn-redundant-constraints -fwarn-tabs
58 default-extensions: PolyKinds
60 if flag(split-these)
61 build-depends: these >= 1 && <1.2
62 , semialign >=1 && <1.2
63 , monoidal-containers >= 0.6 && < 0.7
64 else
65 build-depends: these >= 0.4 && <0.9
66 , monoidal-containers == 0.4.0.0
68test-suite tests
69 default-language: Haskell2010
70 type: exitcode-stdio-1.0
71 main-is: tests.hs
72 hs-source-dirs: test
73 build-depends: base
74 , patch
75 , containers
76 , hedgehog
77 , HUnit
78 if impl(ghcjs)
79 buildable: False
81test-suite hlint
82 default-language: Haskell2010
83 type: exitcode-stdio-1.0
84 main-is: hlint.hs
85 hs-source-dirs: test
86 build-depends: base
87 , directory
88 , filepath
89 , filemanip
90 , hlint (< 2.1 || >= 2.2.2) && < 3.3
91 if impl(ghcjs)
92 buildable: False
94source-repository head
95 type: git
96 location: https://github.com/reflex-frp/patch