on 9705224 help sign in
patch/patch.cabal
78 lines 2.3 kB history raw
1Name: patch
2Version: 0.0.3.1
3Synopsis: Infrastructure for writing patches which act on other types.
4Description:
5 In this library, a patch is something which can be applied, analogous to a
6 function, and which distinguishes returning the argument it was provided from
7 returning something else.
8License: BSD3
9License-file: LICENSE
10Author: Ryan Trinkle
11Maintainer: maintainer@obsidian.systems
12Stability: Experimental
13Category: FRP
14Build-type: Simple
15Cabal-version: >=1.9.2
16homepage: https://obsidian.systems
17bug-reports: https://github.com/reflex-frp/patch/issues
18extra-source-files:
19 README.md
20 ChangeLog.md
22tested-with:
23 GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1
24 GHCJS ==8.4
26flag split-these
27 description: Use split these/semialign packages
28 manual: False
29 default: True
31library
32 hs-source-dirs: src
33 build-depends: base >= 4.9 && < 4.14
34 , constraints-extras >= 0.3 && < 0.4
35 , containers >= 0.6 && < 0.7
36 , dependent-map >= 0.3 && < 0.4
37 , dependent-sum >= 0.6 && < 0.7
38 , lens >= 4.7 && < 5
39 , semigroupoids >= 4.0 && < 6
40 , transformers >= 0.5.6.0 && < 0.6
41 , witherable >= 0.3 && < 0.3.2
43 exposed-modules: Data.Functor.Misc
44 , Data.Monoid.DecidablyEmpty
45 , Data.Patch
46 , Data.Patch.Class
47 , Data.Patch.DMap
48 , Data.Patch.DMapWithMove
49 , Data.Patch.IntMap
50 , Data.Patch.Map
51 , Data.Patch.MapWithMove
52 , Data.Patch.MapWithPatchingMove
54 ghc-options: -Wall -fwarn-redundant-constraints -fwarn-tabs
56 if flag(split-these)
57 build-depends: these >= 1 && <1.1
58 , semialign >=1 && <1.2
59 , monoidal-containers >= 0.6 && < 0.7
60 else
61 build-depends: these >= 0.4 && <0.9
62 , monoidal-containers == 0.4.0.0
64test-suite hlint
65 type: exitcode-stdio-1.0
66 main-is: hlint.hs
67 hs-source-dirs: test
68 build-depends: base
69 , directory
70 , filepath
71 , filemanip
72 , hlint < 2.1 || >= 2.2.2
73 if impl(ghcjs)
74 buildable: False
76source-repository head
77 type: git
78 location: https://github.com/reflex-frp/patch