on master help sign in
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.

commitefd11f7960a104480e3ec68831c1257e8a515586 authorErik de Castro Lopo <erikd@mega-nerd.com> dateSun 16 Sep 2018, 17:33 (8 years ago) parent92b5760
1 file changed+11−9
grenade.cabal+11−9
grenade.cabal+11−9
@@ -45,7 +45,9 @@ library
4545 , hmatrix == 0.18.*
4646 , MonadRandom >= 0.4 && < 0.6
4747 , primitive >= 0.6 && < 0.7
48− , singletons >= 2.1 && < 2.4
48+ -- Versions of singletons are *tightly* coupled with the
49+ -- GHC version so its fine to drop version bounds.
50+ , singletons
4951 , vector >= 0.11 && < 0.13
5052
5153 ghc-options:
@@ -146,9 +148,9 @@ test-suite test
146148 ghc-options: -fno-warn-incomplete-patterns
147149
148150 build-depends:
149− base >= 4.8 && < 5
151+ base
150152 , grenade
151− , hedgehog >= 0.5 && < 0.6
153+ , hedgehog >= 0.5 && < 0.7
152154 , hmatrix
153155 , mtl
154156 , singletons
@@ -174,9 +176,9 @@ benchmark bench
174176 bench
175177
176178 build-depends:
177− base >= 3 && < 5
178− , bytestring == 0.10.*
179− , criterion >= 1.1 && < 1.3
179+ base
180+ , bytestring
181+ , criterion >= 1.1 && < 1.5
180182 , grenade
181183 , hmatrix
182184
@@ -191,8 +193,8 @@ benchmark bench-lstm
191193 bench
192194
193195 build-depends:
194− base >= 3 && < 5
195− , bytestring == 0.10.*
196− , criterion == 1.1.*
196+ base
197+ , bytestring
198+ , criterion
197199 , grenade
198200 , hmatrix