on 08f13f2 help sign in
patch/patch.cabal
79 lines 2.4 kB history raw
1Name: patch
2Version: 0.0.1.0
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 , semigroupoids >= 4.0 && < 6
39 , transformers >= 0.5.6.0 && < 0.6
40 , witherable >= 0.3 && < 0.3.2
42 exposed-modules: Control.Category.DecidablyEmpty
43 , 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.DMapWithMove.By
50 , Data.Patch.IntMap
51 , Data.Patch.Map
52 , Data.Patch.MapWithMove
54 ghc-options: -Wall -fwarn-redundant-constraints -fwarn-tabs
56 if flag(split-these)
57 build-depends: these >= 1 && <1.1
58 , these-lens >= 1 && <1.1
59 , semialign >=1 && <1.2
60 , monoidal-containers >= 0.6 && < 0.7
61 else
62 build-depends: these >= 0.4 && <0.9
63 , monoidal-containers == 0.4.0.0
65test-suite hlint
66 type: exitcode-stdio-1.0
67 main-is: hlint.hs
68 hs-source-dirs: test
69 build-depends: base
70 , directory
71 , filepath
72 , filemanip
73 , hlint < 2.1 || >= 2.2.2
74 if impl(ghcjs)
75 buildable: False
77source-repository head
78 type: git
79 location: https://github.com/reflex-frp/patch