@@ -1,17 +1,21 @@
3−version: 0.5.2.0
2+version: 0.5.0.0
4synopsis: Monad transformers and classes
3synopsis: Monad transformers and classes
5−description: Lib
4+description:
6−license: BSD-3-Clause
5+ Ether is a Haskell library that extends @mtl@ and @transformers@ with
7−-- ^ unfortunately have to change this line due to the issue with cabal2nix
6+ tagged monad transformers and classes in a compatible way.
8−license-file: LICENSE
7+
8+ Introduction <https://int-index.github.io/ether/>
9category: Control
10category: Control
10author: Vladislav Zavialov
13author: Vladislav Zavialov
11maintainer: Vladislav Zavialov <vlad.z.4096@gmail.com>
14maintainer: Vladislav Zavialov <vlad.z.4096@gmail.com>
12homepage: https://int-index.github.io/ether/
15homepage: https://int-index.github.io/ether/
13bug-reports: https://github.com/int-index/ether/issues
16bug-reports: https://github.com/int-index/ether/issues
14build-type: Simple
17build-type: Simple
15extra-source-files: CHANGELOG.md
19extra-source-files: CHANGELOG.md
17source-repository head
21source-repository head
@@ -20,20 +24,6 @@ source-repository head
20 location: git@github.com:int-index/ether.git
24 location: git@github.com:int-index/ether.git
23−flag disable-tup-instances
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.
32− This is a build-time performance hack, enable this flag at your own risk.
39 exposed-modules:
29 exposed-modules:
@@ -51,13 +41,24 @@ library
51 Ether.Internal.HasLens
41 Ether.Internal.HasLens
52 Ether.Internal.TH_Utils
42 Ether.Internal.TH_Utils
53 Ether.Internal.TH_TupleInstances
43 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
56 build-depends:
57 build-depends:
57− base >=4.9 && <4.13,
58+ base >=4.9 && <4.11,
58 transformers >=0.5.2.0,
59 transformers >=0.5.2.0,
59 transformers-lift >=0.2.0.1,
60 transformers-lift >=0.2.0.1,
60− mtl >=2.2.2,
61+ mtl >=2.2.1,
61 mmorph >=1.0.4,
62 mmorph >=1.0.4,
62 monad-control >=1.0.0.4,
63 monad-control >=1.0.0.4,
63 transformers-base >=0.4.4,
64 transformers-base >=0.4.4,
@@ -101,13 +102,10 @@ library
101 ghc-options:
102 ghc-options:
102 -Wall -O2
103 -Wall -O2
104− if flag(disable-tup-instances)
105− cpp-options: -DDISABLE_TUP_INSTANCES
107test-suite regression
105test-suite regression
109 build-depends:
107 build-depends:
110− base >=4.9 && <4.13,
108+ base >=4.9 && <4.11,
111 transformers >=0.4.2,
109 transformers >=0.4.2,
112 mtl >=2.2.1,
110 mtl >=2.2.1,
113 tasty >=0.10,
111 tasty >=0.10,
@@ -121,7 +119,6 @@ test-suite regression
121 Regression.hs
119 Regression.hs
123 other-modules:
121 other-modules:
125 Regression.T1
122 Regression.T1
126 Regression.T2
123 Regression.T2
127 Regression.T3
124 Regression.T3
@@ -172,14 +169,11 @@ test-suite regression
172 ghc-options:
169 ghc-options:
173 -Wall -fno-warn-missing-signatures
170 -Wall -fno-warn-missing-signatures
175− if flag(disable-tup-instances)
176− cpp-options: -DDISABLE_TUP_INSTANCES
179benchmark bench
173benchmark bench
181 build-depends:
175 build-depends:
182− base >=4.9 && <4.13,
176+ base >=4.9 && <4.11,
183 mtl >=2.2.1,
177 mtl >=2.2.1,
184 transformers >=0.4.2,
178 transformers >=0.4.2,
185 criterion >=1.1,
179 criterion >=1.1,
@@ -190,9 +184,6 @@ benchmark bench
197 exitcode-stdio-1.0
188 exitcode-stdio-1.0
@@ -232,6 +223,3 @@ benchmark bench
233 ghc-prof-options:
224 ghc-prof-options:
234 -fprof-auto
225 -fprof-auto
236− if flag(disable-tup-instances)
237− cpp-options: -DDISABLE_TUP_INSTANCES