diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-07-16 20:40:05 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-07-16 20:40:05 +0400 |
commit | bc1c976e9175b4ac13430ba9c23ea8b099401e9e (patch) | |
tree | 67a0d7064d1c0f843e8efbdaa1e2b32e35f1955b /src/Data | |
parent | 412919e88e1d60303f7a14134e37f27becf5f959 (diff) |
~ Fix some long standing warnings.
Diffstat (limited to 'src/Data')
-rw-r--r-- | src/Data/Torrent.hs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Data/Torrent.hs b/src/Data/Torrent.hs index 5971aa9c..2b303b80 100644 --- a/src/Data/Torrent.hs +++ b/src/Data/Torrent.hs | |||
@@ -51,12 +51,12 @@ module Data.Torrent | |||
51 | -- * Extra | 51 | -- * Extra |
52 | , sizeInBase | 52 | , sizeInBase |
53 | 53 | ||
54 | #if defined (TESTING) | 54 | -- #if defined (TESTING) |
55 | -- * Internal | 55 | -- * Internal |
56 | , Data.Torrent.hash | 56 | , Data.Torrent.hash |
57 | , Data.Torrent.hashlazy | 57 | , Data.Torrent.hashlazy |
58 | , layoutOffsets | 58 | , layoutOffsets |
59 | #endif | 59 | -- #endif |
60 | ) where | 60 | ) where |
61 | 61 | ||
62 | import Prelude hiding (sum) | 62 | import Prelude hiding (sum) |
@@ -79,7 +79,6 @@ import qualified Data.ByteString.Lazy as Lazy | |||
79 | import qualified Data.ByteString.Lazy.Builder as B | 79 | import qualified Data.ByteString.Lazy.Builder as B |
80 | import qualified Data.ByteString.Lazy.Builder.ASCII as B | 80 | import qualified Data.ByteString.Lazy.Builder.ASCII as B |
81 | import qualified Data.List as L | 81 | import qualified Data.List as L |
82 | import Data.Maybe | ||
83 | import Data.Map (Map) | 82 | import Data.Map (Map) |
84 | import qualified Data.Map as M | 83 | import qualified Data.Map as M |
85 | import Data.Hashable as Hashable | 84 | import Data.Hashable as Hashable |
@@ -87,7 +86,6 @@ import Data.Text (Text) | |||
87 | import Data.Serialize as S hiding (Result) | 86 | import Data.Serialize as S hiding (Result) |
88 | import Text.PrettyPrint | 87 | import Text.PrettyPrint |
89 | import Text.ParserCombinators.ReadP as P | 88 | import Text.ParserCombinators.ReadP as P |
90 | import Text.Read | ||
91 | 89 | ||
92 | import Network.URI | 90 | import Network.URI |
93 | import System.FilePath | 91 | import System.FilePath |