Commit e878c20 1 parent 3a46135 commit e878c20 Copy full SHA for e878c20
File tree 2 files changed +14
-8
lines changed
2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,24 @@ dependencies:
23
23
- base >= 4.10 && < 10
24
24
- rio >= 0.1.1.0
25
25
26
+ ghc-options :
27
+ - -Wall
28
+ - -Wcompat
29
+ - -Wincomplete-record-updates
30
+ - -Wincomplete-uni-patterns
31
+ - -Wredundant-constraints
32
+
33
+ - -threaded
34
+ - -rtsopts
35
+ - -with-rtsopts=-N
36
+
26
37
library :
27
38
source-dirs : src
28
39
29
40
executables :
30
41
PROJECTNAME-exe :
31
42
main : Main.hs
32
43
source-dirs : app
33
- ghc-options :
34
- - -threaded
35
- - -rtsopts
36
- - -with-rtsopts=-N
37
44
dependencies :
38
45
- PROJECTNAME
39
46
- optparse-simple
@@ -42,10 +49,6 @@ tests:
42
49
PROJECTNAME-test :
43
50
main : Spec.hs
44
51
source-dirs : test
45
- ghc-options :
46
- - -threaded
47
- - -rtsopts
48
- - -with-rtsopts=-N
49
52
dependencies :
50
53
- PROJECTNAME
51
54
- hspec
Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ GeneralizedNewtypeDeriving
152
152
InstanceSigs
153
153
KindSignatures
154
154
LambdaCase
155
+ MonadFailDesugaring
155
156
MultiParamTypeClasses
156
157
MultiWayIf
157
158
NamedFieldPuns
@@ -178,6 +179,8 @@ Notes on some surprising choices:
178
179
* Despite the fact that ` OverloadedStrings ` can break existing code,
179
180
we recommend its usage to encourage avoidance of the ` String ` data
180
181
type. Also, for new code, the risk of breakage is much lower.
182
+ * ` MonadFailDesugaring ` helps prevent partial pattern matches in your
183
+ code, see [ #85 ] ( https://github.com/commercialhaskell/rio/issues/85 )
181
184
182
185
__ TODO__ Do we recommend setting in ` package.yaml ` or in the source
183
186
files themselves? Need to discuss and come to a conclusion on this
You can’t perform that action at this time.
0 commit comments