[commit: packages/binary] ghc-head: Use explicit import-list for `GHC.Base` import (f5f6fe7)

git at git.haskell.org git at git.haskell.org
Wed Sep 17 22:05:51 UTC 2014


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

On branch  : ghc-head
Link       : http://git.haskell.org/packages/binary.git/commitdiff/f5f6fe72bd069a2b56dd52e645aad406c6195526

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

commit f5f6fe72bd069a2b56dd52e645aad406c6195526
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Thu Sep 18 00:02:54 2014 +0200

    Use explicit import-list for `GHC.Base` import
    
    submitted upstream as https://github.com/kolmodin/binary/pull/59


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

f5f6fe72bd069a2b56dd52e645aad406c6195526
 src/Data/Binary/Builder/Base.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Data/Binary/Builder/Base.hs b/src/Data/Binary/Builder/Base.hs
index d6bb32a..cc40272 100644
--- a/src/Data/Binary/Builder/Base.hs
+++ b/src/Data/Binary/Builder/Base.hs
@@ -81,7 +81,7 @@ import qualified Data.ByteString.Lazy.Internal as L
 #endif
 
 #if defined(__GLASGOW_HASKELL__) && !defined(__HADDOCK__)
-import GHC.Base
+import GHC.Base (ord,Int(..),uncheckedShiftRL#)
 import GHC.Word (Word32(..),Word16(..),Word64(..))
 # if WORD_SIZE_IN_BITS < 64
 import GHC.Word (uncheckedShiftRL64#)



More information about the ghc-commits mailing list