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 /examples | |
parent | 6f040764654640730d3f832cf4e41174562718fb (diff) |
Removed redundant imports and other clean up.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/dhtd.hs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs index 4a246660..f96f0ba7 100644 --- a/examples/dhtd.hs +++ b/examples/dhtd.hs | |||
@@ -27,7 +27,6 @@ import Control.Concurrent.STM.TMChan | |||
27 | import Control.Exception | 27 | import Control.Exception |
28 | import Control.Monad | 28 | import Control.Monad |
29 | import Control.Monad.IO.Class (liftIO) | 29 | import Control.Monad.IO.Class (liftIO) |
30 | import Control.Monad.Trans.Control | ||
31 | import Data.Bool | 30 | import Data.Bool |
32 | import Data.Char | 31 | import Data.Char |
33 | import Data.Conduit as C | 32 | import Data.Conduit as C |
@@ -60,7 +59,6 @@ import Control.Concurrent.Lifted | |||
60 | import GHC.Conc (labelThread) | 59 | import GHC.Conc (labelThread) |
61 | #endif | 60 | #endif |
62 | import qualified Data.HashMap.Strict as HashMap | 61 | import qualified Data.HashMap.Strict as HashMap |
63 | import qualified Data.Vector as V | ||
64 | import qualified Data.Text as T | 62 | import qualified Data.Text as T |
65 | import qualified Data.Text.Encoding as T | 63 | import qualified Data.Text.Encoding as T |
66 | import System.Posix.Signals | 64 | import System.Posix.Signals |
@@ -82,7 +80,6 @@ import qualified Network.BitTorrent.MainlineDHT as Mainline | |||
82 | import qualified Network.Tox as Tox | 80 | import qualified Network.Tox as Tox |
83 | import qualified Data.ByteString.Lazy as L | 81 | import qualified Data.ByteString.Lazy as L |
84 | import qualified Data.ByteString.Char8 as B | 82 | import qualified Data.ByteString.Char8 as B |
85 | import qualified Data.Text as T | ||
86 | import qualified Data.Text.Encoding as E | 83 | import qualified Data.Text.Encoding as E |
87 | import qualified Data.Text.Encoding.Error as E | 84 | import qualified Data.Text.Encoding.Error as E |
88 | import Control.Concurrent.Tasks | 85 | import Control.Concurrent.Tasks |
@@ -98,7 +95,7 @@ import qualified Network.Tox.DHT.Transport as Tox | |||
98 | import qualified Network.Tox.DHT.Handlers as Tox | 95 | import qualified Network.Tox.DHT.Handlers as Tox |
99 | import qualified Network.Tox.Onion.Transport as Tox | 96 | import qualified Network.Tox.Onion.Transport as Tox |
100 | import qualified Network.Tox.Onion.Handlers as Tox | 97 | import qualified Network.Tox.Onion.Handlers as Tox |
101 | import qualified Network.Tox.Crypto.Transport as Tox (CryptoMessage(..),CryptoData(..), isOFFLINE, isKillPacket) | 98 | import qualified Network.Tox.Crypto.Transport as Tox (CryptoMessage(..)) |
102 | import qualified Network.Tox.Crypto.Handlers as Tox | 99 | import qualified Network.Tox.Crypto.Handlers as Tox |
103 | import Data.Typeable | 100 | import Data.Typeable |
104 | import Network.Tox.ContactInfo as Tox | 101 | import Network.Tox.ContactInfo as Tox |