[commit: packages/binary] master: Silence warning. (bfa4123)

git at git.haskell.org git at git.haskell.org
Tue Apr 19 20:30:23 UTC 2016


Repository : ssh://git@git.haskell.org/binary

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/bfa4123b4940d5a51743f6d03f15058be952f72a

>---------------------------------------------------------------

commit bfa4123b4940d5a51743f6d03f15058be952f72a
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date:   Mon Apr 11 22:14:45 2016 +0200

    Silence warning.


>---------------------------------------------------------------

bfa4123b4940d5a51743f6d03f15058be952f72a
 benchmarks/Put.hs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/benchmarks/Put.hs b/benchmarks/Put.hs
index c713a0e..52b5ca1 100644
--- a/benchmarks/Put.hs
+++ b/benchmarks/Put.hs
@@ -89,10 +89,10 @@ smallIntegers = [0..10000]
 {-# NOINLINE smallIntegers #-}
 
 bigIntegers :: [Integer]
-bigIntegers = [max .. max + 10000]
+bigIntegers = [m .. m + 10000]
   where
-    max :: Integer
-    max = fromIntegral (maxBound :: Word64)
+    m :: Integer
+    m = fromIntegral (maxBound :: Word64)
 {-# NOINLINE bigIntegers #-}
 
 smallByteStrings :: [S.ByteString]



More information about the ghc-commits mailing list