|
1 |
| -Name: patch |
2 |
| -Version: 0.0.8.2 |
3 |
| -Synopsis: Data structures for describing changes to other data structures. |
4 |
| -Description: |
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. |
10 |
| -License: BSD3 |
11 |
| -License-file: LICENSE |
12 |
| -Author: Ryan Trinkle |
13 |
| - |
14 |
| -Stability: Experimental |
15 |
| -Category: FRP |
16 |
| -Build-type: Simple |
17 |
| -Cabal-version: >=1.10 |
18 |
| -homepage: https://obsidian.systems |
19 |
| -bug-reports: https://github.com/reflex-frp/patch/issues |
| 1 | +cabal-version: >=1.10 |
| 2 | +name: patch |
| 3 | +version: 0.0.8.2 |
| 4 | +license: BSD3 |
| 5 | +license-file: LICENSE |
| 6 | + |
| 7 | +author: Ryan Trinkle |
| 8 | +stability: Experimental |
| 9 | +tested-with: |
| 10 | + 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 || ==9.8.2 || ==9.10.1 |
| 11 | + ghcjs ==8.6 || ==8.10 |
| 12 | + |
| 13 | +homepage: https://obsidian.systems |
| 14 | +bug-reports: https://github.com/reflex-frp/patch/issues |
| 15 | +synopsis: |
| 16 | + Data structures for describing changes to other data structures. |
| 17 | + |
| 18 | +description: |
| 19 | + Data structures for describing changes to other data structures. |
| 20 | + . |
| 21 | + In this library, a patch is something which can be applied, analogous to a |
| 22 | + function, and which distinguishes returning the argument it was provided from |
| 23 | + returning something else. |
| 24 | + |
| 25 | +category: FRP |
| 26 | +build-type: Simple |
20 | 27 | extra-source-files:
|
21 |
| - README.md |
22 |
| - ChangeLog.md |
| 28 | + README.md |
| 29 | + ChangeLog.md |
23 | 30 |
|
24 |
| -tested-with: |
25 |
| - 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 |
26 |
| - GHCJS ==8.6 || ==8.10 |
| 31 | +source-repository head |
| 32 | + type: git |
| 33 | + location: https://github.com/reflex-frp/patch |
27 | 34 |
|
28 | 35 | flag split-these
|
29 |
| - description: Use split these/semialign packages |
30 |
| - manual: False |
31 |
| - default: True |
| 36 | + description: Use split these/semialign packages |
32 | 37 |
|
33 | 38 | flag hlint
|
34 |
| - description: Enable hlint test |
35 |
| - default: True |
| 39 | + description: Enable hlint test |
36 | 40 |
|
37 | 41 | library
|
38 |
| - hs-source-dirs: src |
39 |
| - default-language: Haskell2010 |
40 |
| - build-depends: base >= 4.9 && < 4.19 |
41 |
| - , constraints-extras >= 0.3 && < 0.5 |
42 |
| - , commutative-semigroups >= 0.0 && < 0.2 |
43 |
| - , containers >= 0.6 && < 0.7 |
44 |
| - , dependent-map >= 0.3 && < 0.5 |
45 |
| - , dependent-sum >= 0.6 && < 0.8 |
46 |
| - , lens >= 4.7 && < 5.3 |
47 |
| - , indexed-traversable >= 0.1 && < 0.2 |
48 |
| - , semigroupoids >= 4.0 && < 7 |
49 |
| - , transformers >= 0.5.6.0 && < 0.7 |
50 |
| - , witherable >= 0.3 && < 0.5 |
51 |
| - |
52 |
| - if impl(ghc < 8.6) |
53 |
| - build-depends: base-orphans >= 0.8 && < 0.9 |
54 |
| - |
55 |
| - exposed-modules: Data.Functor.Misc |
56 |
| - , Data.Monoid.DecidablyEmpty |
57 |
| - , Data.Patch |
58 |
| - , Data.Patch.Class |
59 |
| - , Data.Patch.DMap |
60 |
| - , Data.Patch.DMapWithMove |
61 |
| - , Data.Patch.IntMap |
62 |
| - , Data.Patch.Map |
63 |
| - , Data.Patch.MapWithMove |
64 |
| - , Data.Patch.MapWithPatchingMove |
65 |
| - , Data.Patch.PatchOrReplacement |
66 |
| - , Data.Semigroup.Additive |
67 |
| - |
68 |
| - ghc-options: -Wall -fwarn-redundant-constraints -fwarn-tabs |
69 |
| - default-extensions: PolyKinds |
70 |
| - |
71 |
| - if flag(split-these) |
72 |
| - build-depends: these >= 1 && <1.3 |
73 |
| - , semialign >=1 && <1.4 |
74 |
| - , monoidal-containers >= 0.6 && < 0.7 |
75 |
| - else |
76 |
| - build-depends: these >= 0.4 && <0.9 |
77 |
| - , monoidal-containers == 0.4.0.0 |
| 42 | + exposed-modules: |
| 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.IntMap |
| 50 | + Data.Patch.Map |
| 51 | + Data.Patch.MapWithMove |
| 52 | + Data.Patch.MapWithPatchingMove |
| 53 | + Data.Patch.PatchOrReplacement |
| 54 | + Data.Semigroup.Additive |
| 55 | + |
| 56 | + hs-source-dirs: src |
| 57 | + default-language: Haskell2010 |
| 58 | + default-extensions: PolyKinds |
| 59 | + ghc-options: -Wall -fwarn-redundant-constraints -fwarn-tabs |
| 60 | + build-depends: |
| 61 | + base >=4.9 && <=4.21, |
| 62 | + constraints-extras >=0.3 && <0.5, |
| 63 | + commutative-semigroups >=0.0 && <0.3, |
| 64 | + containers >=0.6 && <0.8, |
| 65 | + dependent-map >=0.3 && <0.5, |
| 66 | + dependent-sum >=0.6 && <0.8, |
| 67 | + lens >=4.7 && <5.4, |
| 68 | + indexed-traversable >=0.1 && <0.2, |
| 69 | + semigroupoids >=4.0 && <7, |
| 70 | + transformers >=0.5.6.0 && <0.7, |
| 71 | + witherable >=0.3 && <0.6 |
| 72 | + |
| 73 | + if impl(ghc <8.6) |
| 74 | + build-depends: base-orphans >=0.8 && <0.10 |
| 75 | + |
| 76 | + if flag(split-these) |
| 77 | + build-depends: |
| 78 | + these >=1 && <1.3, |
| 79 | + semialign >=1 && <1.4, |
| 80 | + monoidal-containers >=0.6 && <0.7 |
| 81 | + |
| 82 | + else |
| 83 | + build-depends: |
| 84 | + these >=0.4 && <0.9, |
| 85 | + monoidal-containers ==0.4.0.0 |
78 | 86 |
|
79 | 87 | test-suite tests
|
80 |
| - default-language: Haskell2010 |
81 |
| - type: exitcode-stdio-1.0 |
82 |
| - main-is: tests.hs |
83 |
| - hs-source-dirs: test |
84 |
| - build-depends: base |
85 |
| - , patch |
86 |
| - , containers |
87 |
| - , hedgehog |
88 |
| - , HUnit |
89 |
| - if impl(ghcjs) |
90 |
| - buildable: False |
| 88 | + type: exitcode-stdio-1.0 |
| 89 | + main-is: tests.hs |
| 90 | + hs-source-dirs: test |
| 91 | + default-language: Haskell2010 |
| 92 | + build-depends: |
| 93 | + base, |
| 94 | + patch, |
| 95 | + containers, |
| 96 | + hedgehog <1.6, |
| 97 | + HUnit <1.7 |
| 98 | + |
| 99 | + if (impl(ghcjs >=0) || arch(javascript)) |
| 100 | + buildable: False |
91 | 101 |
|
92 | 102 | test-suite hlint
|
93 |
| - -- hlint doesn't support ghc-9.6 yet (as of version 3.5) |
94 |
| - if impl(ghc >= 9.6) |
95 |
| - buildable: False |
96 |
| - default-language: Haskell2010 |
97 |
| - type: exitcode-stdio-1.0 |
98 |
| - main-is: hlint.hs |
99 |
| - hs-source-dirs: test |
100 |
| - build-depends: base |
101 |
| - , directory |
102 |
| - , filepath |
103 |
| - , filemanip |
104 |
| - if impl(ghc < 9.2) |
105 |
| - build-depends: hlint (< 2.1 || >= 2.2.2) && < 3.5 |
106 |
| - else |
107 |
| - build-depends: hlint >= 3.5 && < 3.6 |
108 |
| - |
109 |
| - if impl(ghcjs) || !flag(hlint) |
110 |
| - buildable: False |
| 103 | + type: exitcode-stdio-1.0 |
| 104 | + main-is: hlint.hs |
| 105 | + hs-source-dirs: test |
| 106 | + default-language: Haskell2010 |
| 107 | + build-depends: |
| 108 | + base, |
| 109 | + directory, |
| 110 | + filepath, |
| 111 | + filemanip |
111 | 112 |
|
112 |
| -source-repository head |
113 |
| - type: git |
114 |
| - location: https://github.com/reflex-frp/patch |
| 113 | + if impl(ghc >=9.6) |
| 114 | + buildable: False |
| 115 | + |
| 116 | + if impl(ghc <9.2) |
| 117 | + build-depends: hlint (<2.1 || >=2.2.2) && <3.5 |
| 118 | + |
| 119 | + else |
| 120 | + build-depends: hlint >=3.5 && <3.6 |
| 121 | + |
| 122 | + if ((impl(ghcjs >=0) || arch(javascript)) || !flag(hlint)) |
| 123 | + buildable: False |
0 commit comments