@@ -1,17 +1,21 @@
1−cabal-version: 2.2
21name: ether
3−version: 0.5.2.0
2+version: 0.5.0.0
43synopsis: Monad transformers and classes
5−description: Lib
6−license: BSD-3-Clause
7−-- ^ unfortunately have to change this line due to the issue with cabal2nix
8−license-file: LICENSE
4+description:
5+ Ether is a Haskell library that extends @mtl@ and @transformers@ with
6+ tagged monad transformers and classes in a compatible way.
7+
8+ Introduction <https://int-index.github.io/ether/>
9+
910category: Control
11+license: BSD3
12+license-file: LICENSE
1013author: Vladislav Zavialov
1114maintainer: Vladislav Zavialov <vlad.z.4096@gmail.com>
1215homepage: https://int-index.github.io/ether/
1316bug-reports: https://github.com/int-index/ether/issues
1417build-type: Simple
18+cabal-version: >=1.18
1519extra-source-files: CHANGELOG.md
1620
1721source-repository head
@@ -20,20 +24,6 @@ source-repository head
2024 location: git@github.com:int-index/ether.git
2125
2226
23−flag disable-tup-instances
24−
25− description:
26− Disable auto-generated 'HasLens' instances for tuples. The reason one
27− might want to do this is to reduce the size of .hi-files, as well as the
28− time and memory GHC needs to build Ether. To recover flattening with
29− tuples, use 'Ether.Internal.makeTupleInstancesHasLens' at specific tuple
30− sizes you need in your application.
31−
32− This is a build-time performance hack, enable this flag at your own risk.
33−
34− default: False
35− manual: True
36−
3727library
3828
3929 exposed-modules:
@@ -51,13 +41,24 @@ library
5141 Ether.Internal.HasLens
5242 Ether.Internal.TH_Utils
5343 Ether.Internal.TH_TupleInstances
54− Ether.Internal.TupleInstances
44+ Ether.Internal.TupleInstances_TagsK
45+ Ether.Internal.TupleInstances_Tags
46+ Ether.Internal.TupleInstances_HasLens
47+ Ether.Internal.TupleInstances_HasLens_1
48+ Ether.Internal.TupleInstances_HasLens_2
49+ Ether.Internal.TupleInstances_HasLens_3
50+ Ether.Internal.TupleInstances_HasLens_4
51+ Ether.Internal.TupleInstances_HasLens_5
52+ Ether.Internal.TupleInstances_HasLens_6
53+ Ether.Internal.TupleInstances_HasLens_7
54+ Ether.Internal.TupleInstances_HasLens_8
55+ Ether.Internal.TupleInstances_HasLens_9
5556
5657 build-depends:
57− base >=4.9 && <4.13,
58+ base >=4.9 && <4.11,
5859 transformers >=0.5.2.0,
5960 transformers-lift >=0.2.0.1,
60− mtl >=2.2.2,
61+ mtl >=2.2.1,
6162 mmorph >=1.0.4,
6263 monad-control >=1.0.0.4,
6364 transformers-base >=0.4.4,
@@ -101,13 +102,10 @@ library
101102 ghc-options:
102103 -Wall -O2
103104
104− if flag(disable-tup-instances)
105− cpp-options: -DDISABLE_TUP_INSTANCES
106−
107105test-suite regression
108106
109107 build-depends:
110− base >=4.9 && <4.13,
108+ base >=4.9 && <4.11,
111109 transformers >=0.4.2,
112110 mtl >=2.2.1,
113111 tasty >=0.10,
@@ -121,7 +119,6 @@ test-suite regression
121119 Regression.hs
122120
123121 other-modules:
124− TupleInstances
125122 Regression.T1
126123 Regression.T2
127124 Regression.T3
@@ -172,14 +169,11 @@ test-suite regression
172169 ghc-options:
173170 -Wall -fno-warn-missing-signatures
174171
175− if flag(disable-tup-instances)
176− cpp-options: -DDISABLE_TUP_INSTANCES
177−
178172
179173benchmark bench
180174
181175 build-depends:
182− base >=4.9 && <4.13,
176+ base >=4.9 && <4.11,
183177 mtl >=2.2.1,
184178 transformers >=0.4.2,
185179 criterion >=1.1,
@@ -190,9 +184,6 @@ benchmark bench
190184 main-is:
191185 Bench.hs
192186
193− other-modules:
194− TupleInstances
195−
196187 type:
197188 exitcode-stdio-1.0
198189
@@ -232,6 +223,3 @@ benchmark bench
232223
233224 ghc-prof-options:
234225 -fprof-auto
235−
236− if flag(disable-tup-instances)
237− cpp-options: -DDISABLE_TUP_INSTANCES