default extensions needs cabal verison 1.10 needs default language

This commit is contained in:
Claude Heiland-Allen 2018-12-14 19:43:22 +00:00 committed by Erik de Castro Lopo
parent 8d5ef502be
commit 6c39f41e1d

View File

@ -7,7 +7,7 @@ maintainer: Huw Campbell <huw.campbell@gmail.com>
copyright: (c) 2016-2017 Huw Campbell.
synopsis: Practical Deep Learning in Haskell
category: AI, Machine Learning
cabal-version: >= 1.8
cabal-version: >= 1.10
build-type: Simple
description:
Grenade is a composable, dependently typed, practical, and fast
@ -55,6 +55,8 @@ library
hs-source-dirs:
src
default-language: Haskell2010
if impl(ghc < 8.0)
ghc-options: -fno-warn-incomplete-patterns
cpp-options: -DType=*
@ -129,6 +131,7 @@ test-suite test
hs-source-dirs:
test
default-language: Haskell2010
other-modules: Test.Hedgehog.Compat
Test.Hedgehog.Hmatrix
@ -149,6 +152,10 @@ test-suite test
if impl(ghc < 8.0)
ghc-options: -fno-warn-incomplete-patterns
cpp-options: -DType=*
if impl(ghc >= 8.6)
default-extensions: NoStarIsType
build-depends:
base
@ -178,6 +185,8 @@ benchmark bench
hs-source-dirs:
bench
default-language: Haskell2010
build-depends:
base
, bytestring
@ -195,6 +204,8 @@ benchmark bench-lstm
hs-source-dirs:
bench
default-language: Haskell2010
build-depends:
base
, bytestring