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