@@ -7,7 +7,7 @@ maintainer: Huw Campbell <huw.campbell@gmail.com>
77copyright: (c) 2016-2017 Huw Campbell.
88synopsis: Practical Deep Learning in Haskell
99category: AI, Machine Learning
10−cabal-version: >= 1.8
10+cabal-version: >= 1.10
1111build-type: Simple
1212description:
1313 Grenade is a composable, dependently typed, practical, and fast
@@ -55,6 +55,8 @@ library
5555 hs-source-dirs:
5656 src
5757
58+ default-language: Haskell2010
59+
5860 if impl(ghc < 8.0)
5961 ghc-options: -fno-warn-incomplete-patterns
6062 cpp-options: -DType=*
@@ -129,6 +131,7 @@ test-suite test
129131 hs-source-dirs:
130132 test
131133
134+ default-language: Haskell2010
132135
133136 other-modules: Test.Hedgehog.Compat
134137 Test.Hedgehog.Hmatrix
@@ -149,6 +152,10 @@ test-suite test
149152
150153 if impl(ghc < 8.0)
151154 ghc-options: -fno-warn-incomplete-patterns
155+ cpp-options: -DType=*
156+
157+ if impl(ghc >= 8.6)
158+ default-extensions: NoStarIsType
152159
153160 build-depends:
154161 base
@@ -178,6 +185,8 @@ benchmark bench
178185 hs-source-dirs:
179186 bench
180187
188+ default-language: Haskell2010
189+
181190 build-depends:
182191 base
183192 , bytestring
@@ -195,6 +204,8 @@ benchmark bench-lstm
195204 hs-source-dirs:
196205 bench
197206
207+ default-language: Haskell2010
208+
198209 build-depends:
199210 base
200211 , bytestring