mirror of
https://github.com/HuwCampbell/grenade.git
synced 2024-11-22 06:55:13 +03:00
default extensions needs cabal verison 1.10 needs default language
This commit is contained in:
parent
8d5ef502be
commit
6c39f41e1d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user