]> git.rkrishnan.org Git - functorrent.git/commitdiff
remove redundant module imports for ghc 7.10
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 30 Aug 2015 12:34:54 +0000 (18:04 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 30 Aug 2015 12:34:54 +0000 (18:04 +0530)
src/FuncTorrent/Bencode.hs
src/FuncTorrent/PeerMsgs.hs

index 62d476733530ad650d6a293f5255d3c6c26ba147..631a87fc1a1d7f53f2a14832fbd6378d55171190 100644 (file)
@@ -12,10 +12,8 @@ module FuncTorrent.Bencode
 
 import Prelude hiding (length, concat)
 
-import Control.Applicative ((<*))
 import Data.ByteString (ByteString, length, concat)
 import Data.ByteString.Char8 (unpack, pack)
-import Data.Functor ((<$>))
 import Data.Map.Strict (Map, fromList, toList)
 import Text.ParserCombinators.Parsec
 import qualified Text.Parsec.ByteString as ParsecBS
index f4fe97c8bf35179f010aca4d644a918ed2837007..c603291acadd0e571bba2cb611f9a05133854737 100644 (file)
@@ -14,7 +14,7 @@ import Data.ByteString (ByteString, pack, unpack, concat, hGet, hPut, singleton)
 import Data.ByteString.Lazy (fromStrict, fromChunks, toStrict)
 import qualified Data.ByteString.Char8 as BC (replicate, pack)
 import Control.Monad (replicateM, liftM)
-import Control.Applicative ((<$>), liftA3)
+import Control.Applicative (liftA3)
 
 import Data.Binary (Binary(..), decode, encode)
 import Data.Binary.Put (putWord32be, putWord16be, putWord8)