on master help sign in
Comment out Random instances.

We should do this conditionally, only not needed if random>=1.0.1.0.

commit3bb50f11ec589ce8c1bf5f78ffc9755eded70fc2 authorLennart Kolmodin <kolmodin@google.com> dateThu 1 Mar 2012, 22:54 (15 years ago) parent0ed38e7
1 file changed+3−1
BitsQC.hs+3−1
BitsQC.hs+3−1
@@ -1,4 +1,4 @@
1−{-# LANGUAGE FlexibleInstances, FlexibleContexts, TupleSections #-}
1+{-# LANGUAGE CPP, FlexibleInstances, FlexibleContexts, TupleSections #-}
22
33module Main where
44
@@ -311,6 +311,7 @@ integralRandomR (a,b) g = case randomR (fromIntegral a :: Integer,
311311 fromIntegral b :: Integer) g of
312312 (x,g) -> (fromIntegral x, g)
313313
314+{-
314315instance Random Word where
315316 randomR = integralRandomR
316317 random = randomR (minBound,maxBound)
@@ -330,3 +331,4 @@ instance Random Word32 where
330331instance Random Word64 where
331332 randomR = integralRandomR
332333 random = randomR (minBound,maxBound)
334+-}