testpack 2.1.1 → 2.1.2
raw patch · 2 files changed
+3/−2 lines, 2 filesdep ~random
Dependency ranges changed: random
Files
- src/Test/QuickCheck/Instances.hs +2/−1
- testpack.cabal +1/−1
src/Test/QuickCheck/Instances.hs view
@@ -47,8 +47,9 @@ where x = abs . fromIntegral $ n #endif +#if !MIN_VERSION_random(1,0,1) instance Random Word8 where randomR (a, b) g = (\(x, y) -> (fromInteger x, y)) $ randomR (toInteger a, toInteger b) g random g = randomR (minBound, maxBound) g-+#endif
testpack.cabal view
@@ -1,5 +1,5 @@ Name: testpack-Version: 2.1.1+Version: 2.1.2 License: LGPL Maintainer: John Goerzen <jgoerzen@complete.org> Author: John Goerzen