@@ -19,29 +19,8 @@ extra-doc-files: CHANGELOG.md
19
19
common warnings
20
20
ghc-options : -Wall -Werror
21
21
22
- common ghc2021
23
- -- These options are all on by default in GHC2021, so once we drop GHC8 we
24
- -- can remove this section.
25
- default-extensions :
26
- DataKinds
27
- DeriveGeneric
28
- DeriveTraversable
29
- FlexibleContexts
30
- FlexibleInstances
31
- GeneralizedNewtypeDeriving
32
- ImportQualifiedPost
33
- InstanceSigs
34
- MultiParamTypeClasses
35
- NamedFieldPuns
36
- PolyKinds
37
- RankNTypes
38
- ScopedTypeVariables
39
- StandaloneDeriving
40
- TypeApplications
41
- TypeSynonymInstances
42
-
43
22
library
44
- import : warnings, ghc2021
23
+ import : warnings
45
24
exposed-modules :
46
25
Codec.CBOR.Cuddle.CBOR.Gen
47
26
Codec.CBOR.Cuddle.CDDL
@@ -64,7 +43,7 @@ library
64
43
65
44
-- other-extensions:
66
45
build-depends :
67
- , base >= 4.14.0 .0
46
+ , base >= 4.18.3 .0
68
47
, base16-bytestring
69
48
, boxes
70
49
, bytestring
@@ -88,11 +67,11 @@ library
88
67
, tree-diff
89
68
90
69
hs-source-dirs : src
91
- default-language : Haskell2010
70
+ default-language : GHC2021
92
71
93
72
executable example
94
- import : warnings, ghc2021
95
- default-language : Haskell2010
73
+ import : warnings
74
+ default-language : GHC2021
96
75
other-modules :
97
76
Conway
98
77
Monad
@@ -109,8 +88,8 @@ executable example
109
88
, text
110
89
111
90
executable cuddle
112
- import : warnings, ghc2021
113
- default-language : Haskell2010
91
+ import : warnings
92
+ default-language : GHC2021
114
93
hs-source-dirs : ./bin/
115
94
main-is : Main.hs
116
95
build-depends :
@@ -126,8 +105,8 @@ executable cuddle
126
105
, text
127
106
128
107
test-suite cuddle-test
129
- import : warnings, ghc2021
130
- default-language : Haskell2010
108
+ import : warnings
109
+ default-language : GHC2021
131
110
other-modules :
132
111
Test.Codec.CBOR.Cuddle.CDDL.Examples
133
112
Test.Codec.CBOR.Cuddle.CDDL.Gen
0 commit comments