diff options
author | joe <joe@jerkface.net> | 2018-06-22 21:17:22 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2018-06-22 21:17:22 -0400 |
commit | f5f854c8144dc29086928a94b2ea86cfae0d0557 (patch) | |
tree | 5a7daccc1be66375edd35b238f348129f540b146 /src/Network/Tox/Onion/Handlers.hs | |
parent | 6f040764654640730d3f832cf4e41174562718fb (diff) |
Removed redundant imports and other clean up.
Diffstat (limited to 'src/Network/Tox/Onion/Handlers.hs')
-rw-r--r-- | src/Network/Tox/Onion/Handlers.hs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Network/Tox/Onion/Handlers.hs b/src/Network/Tox/Onion/Handlers.hs index f497a1bf..80a6ae3a 100644 --- a/src/Network/Tox/Onion/Handlers.hs +++ b/src/Network/Tox/Onion/Handlers.hs | |||
@@ -12,23 +12,9 @@ import qualified Network.QueryResponse as QR (Client) | |||
12 | import Crypto.Tox | 12 | import Crypto.Tox |
13 | import qualified Data.Wrapper.PSQ as PSQ | 13 | import qualified Data.Wrapper.PSQ as PSQ |
14 | ;import Data.Wrapper.PSQ (PSQ,pattern (:->)) | 14 | ;import Data.Wrapper.PSQ (PSQ,pattern (:->)) |
15 | #ifdef CRYPTONITE_BACKPORT | ||
16 | import Crypto.Error.Types (CryptoFailable (..), | ||
17 | throwCryptoError) | ||
18 | #else | ||
19 | import Crypto.Error | ||
20 | #endif | ||
21 | import Control.Arrow | 15 | import Control.Arrow |
22 | 16 | ||
23 | import System.IO | ||
24 | import qualified Data.ByteArray as BA | ||
25 | import Data.Function | 17 | import Data.Function |
26 | import Data.Serialize as S | ||
27 | import qualified Data.Wrapper.PSQInt as Int | ||
28 | import Network.Kademlia | ||
29 | import Network.Address (WantIP (..), ipFamily, testIdBit) | ||
30 | import qualified Network.Kademlia.Routing as R | ||
31 | import Control.TriadCommittee | ||
32 | import qualified Data.MinMaxPSQ as MinMaxPSQ | 18 | import qualified Data.MinMaxPSQ as MinMaxPSQ |
33 | ;import Data.MinMaxPSQ (MinMaxPSQ') | 19 | ;import Data.MinMaxPSQ (MinMaxPSQ') |
34 | import Network.BitTorrent.DHT.Token as Token | 20 | import Network.BitTorrent.DHT.Token as Token |
@@ -50,8 +36,6 @@ import Data.IP hiding (fromSockAddr) | |||
50 | import Data.IP | 36 | import Data.IP |
51 | #endif | 37 | #endif |
52 | import Data.Maybe | 38 | import Data.Maybe |
53 | import Data.Bits | ||
54 | import Data.Ord | ||
55 | import Data.Functor.Identity | 39 | import Data.Functor.Identity |
56 | import DPut | 40 | import DPut |
57 | 41 | ||