on master help sign in
default extensions needs cabal verison 1.10 needs default language
6c39f41Claude Heiland-Allen
grenade.cabal+12−1
@@ -7,7 +7,7 @@ maintainer: Huw Campbell <huw.campbell@gmail.com>
7copyright: (c) 2016-2017 Huw Campbell.
7copyright: (c) 2016-2017 Huw Campbell.
8synopsis: Practical Deep Learning in Haskell
8synopsis: Practical Deep Learning in Haskell
9category: AI, Machine Learning
9category: AI, Machine Learning
10−cabal-version: >= 1.8
10+cabal-version: >= 1.10
11build-type: Simple
11build-type: Simple
12description:
12description:
13 Grenade is a composable, dependently typed, practical, and fast
13 Grenade is a composable, dependently typed, practical, and fast
@@ -55,6 +55,8 @@ library
55 hs-source-dirs:
55 hs-source-dirs:
56 src
56 src
57
57
58+ default-language: Haskell2010
59+
58 if impl(ghc < 8.0)
60 if impl(ghc < 8.0)
59 ghc-options: -fno-warn-incomplete-patterns
61 ghc-options: -fno-warn-incomplete-patterns
60 cpp-options: -DType=*
62 cpp-options: -DType=*
@@ -129,6 +131,7 @@ test-suite test
129 hs-source-dirs:
131 hs-source-dirs:
130 test
132 test
131
133
134+ default-language: Haskell2010
132
135
133 other-modules: Test.Hedgehog.Compat
136 other-modules: Test.Hedgehog.Compat
134 Test.Hedgehog.Hmatrix
137 Test.Hedgehog.Hmatrix
@@ -149,6 +152,10 @@ test-suite test
149
152
150 if impl(ghc < 8.0)
153 if impl(ghc < 8.0)
151 ghc-options: -fno-warn-incomplete-patterns
154 ghc-options: -fno-warn-incomplete-patterns
155+ cpp-options: -DType=*
156+
157+ if impl(ghc >= 8.6)
158+ default-extensions: NoStarIsType
152
159
153 build-depends:
160 build-depends:
154 base
161 base
@@ -178,6 +185,8 @@ benchmark bench
178 hs-source-dirs:
185 hs-source-dirs:
179 bench
186 bench
180
187
188+ default-language: Haskell2010
189+
181 build-depends:
190 build-depends:
182 base
191 base
183 , bytestring
192 , bytestring
@@ -195,6 +204,8 @@ benchmark bench-lstm
195 hs-source-dirs:
204 hs-source-dirs:
196 bench
205 bench
197
206
207+ default-language: Haskell2010
208+
198 build-depends:
209 build-depends:
199 base
210 base
200 , bytestring
211 , bytestring