[commit: packages/binary] master: Fix compilation error for GHC < 7.10. (f040b5d)
git at git.haskell.org
git at git.haskell.org
Tue Apr 19 20:30:25 UTC 2016
Repository : ssh://git@git.haskell.org/binary
On branch : master
Link : http://git.haskell.org/packages/binary.git/commitdiff/f040b5d91e095b4d4772b8fc2a9ba4798ac5bd23
>---------------------------------------------------------------
commit f040b5d91e095b4d4772b8fc2a9ba4798ac5bd23
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date: Tue Apr 12 22:03:34 2016 +0200
Fix compilation error for GHC < 7.10.
>---------------------------------------------------------------
f040b5d91e095b4d4772b8fc2a9ba4798ac5bd23
benchmarks/Put.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/benchmarks/Put.hs b/benchmarks/Put.hs
index 52b5ca1..12b7dbf 100644
--- a/benchmarks/Put.hs
+++ b/benchmarks/Put.hs
@@ -11,6 +11,7 @@ import Criterion.Main
import qualified Data.ByteString as S
import qualified Data.ByteString.Char8 as C
import qualified Data.ByteString.Lazy as L
+import Data.Monoid
#ifdef GENERICS
import GHC.Generics
@@ -19,6 +20,7 @@ import GHC.Generics
import Data.Binary
import Data.Binary.Put
import Data.ByteString.Builder as BB
+import Prelude -- Silence Monoid import warning.
main :: IO ()
main = do
More information about the ghc-commits
mailing list