[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/2.0.0-3-12-g2626d47

Iain Lane laney at debian.org
Sat Feb 25 23:36:00 UTC 2012


The following commit has been merged in the master branch:
commit ef9f6c109bd3c20f40fa25e962c928a51e1277d8
Author: Iain Lane <laney at debian.org>
Date:   Sat Feb 25 23:28:25 2012 +0000

    Comment out Random Word8 instance
    
    Provided by Random now.

diff --git a/src/Test/QuickCheck/Instances.hs b/src/Test/QuickCheck/Instances.hs
index ada6674..7e920a1 100644
--- a/src/Test/QuickCheck/Instances.hs
+++ b/src/Test/QuickCheck/Instances.hs
@@ -47,8 +47,8 @@ instance CoArbitrary Word8 where
                 where x = abs . fromIntegral $ n
 #endif
 
-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
+-- 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
 

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list