on v0.0.1.0 help sign in
patch/patch.cabal
75 lines 2.2 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: Data.Functor.Misc
43 , Data.Patch
44 , Data.Patch.Class
45 , Data.Patch.DMap
46 , Data.Patch.DMapWithMove
47 , Data.Patch.IntMap
48 , Data.Patch.Map
49 , Data.Patch.MapWithMove
51 ghc-options: -Wall -fwarn-redundant-constraints -fwarn-tabs
53 if flag(split-these)
54 build-depends: these >= 1 && <1.1
55 , semialign >=1 && <1.2
56 , monoidal-containers >= 0.6 && < 0.7
57 else
58 build-depends: these >= 0.4 && <0.9
59 , monoidal-containers == 0.4.0.0
61test-suite hlint
62 type: exitcode-stdio-1.0
63 main-is: hlint.hs
64 hs-source-dirs: test
65 build-depends: base
66 , directory
67 , filepath
68 , filemanip
69 , hlint < 2.1 || >= 2.2.2
70 if impl(ghcjs)
71 buildable: False
73source-repository head
74 type: git
75 location: https://github.com/reflex-frp/patch