summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2018-06-22 21:17:22 -0400
committerjoe <joe@jerkface.net>2018-06-22 21:17:22 -0400
commitf5f854c8144dc29086928a94b2ea86cfae0d0557 (patch)
tree5a7daccc1be66375edd35b238f348129f540b146 /examples
parent6f040764654640730d3f832cf4e41174562718fb (diff)
Removed redundant imports and other clean up.
Diffstat (limited to 'examples')
-rw-r--r--examples/dhtd.hs5
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
27import Control.Exception 27import Control.Exception
28import Control.Monad 28import Control.Monad
29import Control.Monad.IO.Class (liftIO) 29import Control.Monad.IO.Class (liftIO)
30import Control.Monad.Trans.Control
31import Data.Bool 30import Data.Bool
32import Data.Char 31import Data.Char
33import Data.Conduit as C 32import Data.Conduit as C
@@ -60,7 +59,6 @@ import Control.Concurrent.Lifted
60import GHC.Conc (labelThread) 59import GHC.Conc (labelThread)
61#endif 60#endif
62import qualified Data.HashMap.Strict as HashMap 61import qualified Data.HashMap.Strict as HashMap
63import qualified Data.Vector as V
64import qualified Data.Text as T 62import qualified Data.Text as T
65import qualified Data.Text.Encoding as T 63import qualified Data.Text.Encoding as T
66import System.Posix.Signals 64import System.Posix.Signals
@@ -82,7 +80,6 @@ import qualified Network.BitTorrent.MainlineDHT as Mainline
82import qualified Network.Tox as Tox 80import qualified Network.Tox as Tox
83import qualified Data.ByteString.Lazy as L 81import qualified Data.ByteString.Lazy as L
84import qualified Data.ByteString.Char8 as B 82import qualified Data.ByteString.Char8 as B
85import qualified Data.Text as T
86import qualified Data.Text.Encoding as E 83import qualified Data.Text.Encoding as E
87import qualified Data.Text.Encoding.Error as E 84import qualified Data.Text.Encoding.Error as E
88import Control.Concurrent.Tasks 85import Control.Concurrent.Tasks
@@ -98,7 +95,7 @@ import qualified Network.Tox.DHT.Transport as Tox
98import qualified Network.Tox.DHT.Handlers as Tox 95import qualified Network.Tox.DHT.Handlers as Tox
99import qualified Network.Tox.Onion.Transport as Tox 96import qualified Network.Tox.Onion.Transport as Tox
100import qualified Network.Tox.Onion.Handlers as Tox 97import qualified Network.Tox.Onion.Handlers as Tox
101import qualified Network.Tox.Crypto.Transport as Tox (CryptoMessage(..),CryptoData(..), isOFFLINE, isKillPacket) 98import qualified Network.Tox.Crypto.Transport as Tox (CryptoMessage(..))
102import qualified Network.Tox.Crypto.Handlers as Tox 99import qualified Network.Tox.Crypto.Handlers as Tox
103import Data.Typeable 100import Data.Typeable
104import Network.Tox.ContactInfo as Tox 101import Network.Tox.ContactInfo as Tox