grenade.cabal: Allow building with ghc 8.4

* Drop repeated and potentially conflicting version constraints. Version
  constraints really only need to be specified once in the cabal file
  (especially when building with mafia).
* Drop the version constraint on singletons. The singletons package
  version number is tightly coupled to the GHC version (due to TH)
  so its safe to leave the version bounds unspecified.
This commit is contained in:
Erik de Castro Lopo 2018-09-16 17:33:14 +10:00
parent 92b5760926
commit efd11f7960

View File

@ -45,7 +45,9 @@ library
, hmatrix == 0.18.*
, MonadRandom >= 0.4 && < 0.6
, primitive >= 0.6 && < 0.7
, singletons >= 2.1 && < 2.4
-- Versions of singletons are *tightly* coupled with the
-- GHC version so its fine to drop version bounds.
, singletons
, vector >= 0.11 && < 0.13
ghc-options:
@ -146,9 +148,9 @@ test-suite test
ghc-options: -fno-warn-incomplete-patterns
build-depends:
base >= 4.8 && < 5
base
, grenade
, hedgehog >= 0.5 && < 0.6
, hedgehog >= 0.5 && < 0.7
, hmatrix
, mtl
, singletons
@ -174,9 +176,9 @@ benchmark bench
bench
build-depends:
base >= 3 && < 5
, bytestring == 0.10.*
, criterion >= 1.1 && < 1.3
base
, bytestring
, criterion >= 1.1 && < 1.5
, grenade
, hmatrix
@ -191,8 +193,8 @@ benchmark bench-lstm
bench
build-depends:
base >= 3 && < 5
, bytestring == 0.10.*
, criterion == 1.1.*
base
, bytestring
, criterion
, grenade
, hmatrix