[commit: packages/bytestring] master, revert-46-patch-1, wip/nix-local-build: silence redundant import warning (7f4389c)

git at git.haskell.org git at git.haskell.org
Tue May 3 22:43:49 UTC 2016


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

On branches: master,revert-46-patch-1,wip/nix-local-build
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/7f4389c4b13032f7e59cb71c90c5e3ad37348606

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

commit 7f4389c4b13032f7e59cb71c90c5e3ad37348606
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Nov 28 21:17:34 2015 +0100

    silence redundant import warning


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

7f4389c4b13032f7e59cb71c90c5e3ad37348606
 Data/ByteString.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Data/ByteString.hs b/Data/ByteString.hs
index f522807..ddc96f3 100644
--- a/Data/ByteString.hs
+++ b/Data/ByteString.hs
@@ -229,7 +229,7 @@ import Data.ByteString.Unsafe
 import qualified Data.List as List
 
 import Data.Word                (Word8)
-import Data.Maybe               (isJust, listToMaybe)
+import Data.Maybe               (isJust)
 
 import Control.Exception        (finally, bracket, assert, throwIO)
 import Control.Monad            (when)



More information about the ghc-commits mailing list