summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bench/Main.hs2
-rw-r--r--bench/Server.hs2
-rw-r--r--krpc.cabal6
-rw-r--r--src/Network/KRPC.hs4
-rw-r--r--src/Network/KRPC/Protocol.hs2
-rw-r--r--src/Network/KRPC/Scheme.hs6
-rw-r--r--tests/Client.hs2
-rw-r--r--tests/Server.hs2
-rw-r--r--tests/Shared.hs2
9 files changed, 14 insertions, 14 deletions
diff --git a/bench/Main.hs b/bench/Main.hs
index 697ecce9..fdf76cc2 100644
--- a/bench/Main.hs
+++ b/bench/Main.hs
@@ -5,7 +5,7 @@ import Control.Monad
5import Data.ByteString (ByteString) 5import Data.ByteString (ByteString)
6import qualified Data.ByteString as B 6import qualified Data.ByteString as B
7import Criterion.Main 7import Criterion.Main
8import Remote.KRPC 8import Network.KRPC
9 9
10 10
11addr :: RemoteAddr 11addr :: RemoteAddr
diff --git a/bench/Server.hs b/bench/Server.hs
index ece5a7a9..444362c1 100644
--- a/bench/Server.hs
+++ b/bench/Server.hs
@@ -2,7 +2,7 @@
2module Main (main) where 2module Main (main) where
3 3
4import Data.ByteString (ByteString) 4import Data.ByteString (ByteString)
5import Remote.KRPC 5import Network.KRPC
6 6
7 7
8echo :: Method ByteString ByteString 8echo :: Method ByteString ByteString
diff --git a/krpc.cabal b/krpc.cabal
index 0ac9faac..435f446a 100644
--- a/krpc.cabal
+++ b/krpc.cabal
@@ -38,9 +38,9 @@ library
38 default-extensions: PatternGuards 38 default-extensions: PatternGuards
39 , RecordWildCards 39 , RecordWildCards
40 hs-source-dirs: src 40 hs-source-dirs: src
41 exposed-modules: Remote.KRPC 41 exposed-modules: Network.KRPC
42 , Remote.KRPC.Protocol 42 , Network.KRPC.Protocol
43 , Remote.KRPC.Scheme 43 , Network.KRPC.Scheme
44 build-depends: base == 4.* 44 build-depends: base == 4.*
45 45
46 , lifted-base >= 0.1.1 46 , lifted-base >= 0.1.1
diff --git a/src/Network/KRPC.hs b/src/Network/KRPC.hs
index 5c913daa..e667853a 100644
--- a/src/Network/KRPC.hs
+++ b/src/Network/KRPC.hs
@@ -94,7 +94,7 @@
94{-# LANGUAGE KindSignatures #-} 94{-# LANGUAGE KindSignatures #-}
95{-# LANGUAGE ScopedTypeVariables #-} 95{-# LANGUAGE ScopedTypeVariables #-}
96{-# LANGUAGE DeriveGeneric #-} 96{-# LANGUAGE DeriveGeneric #-}
97module Remote.KRPC 97module Network.KRPC
98 ( -- * Method 98 ( -- * Method
99 Method(..) 99 Method(..)
100 , method, idM 100 , method, idM
@@ -128,7 +128,7 @@ import Data.Typeable
128import Network 128import Network
129import GHC.Generics 129import GHC.Generics
130 130
131import Remote.KRPC.Protocol 131import Network.KRPC.Protocol
132 132
133 133
134-- | Method datatype used to describe name, parameters and return 134-- | Method datatype used to describe name, parameters and return
diff --git a/src/Network/KRPC/Protocol.hs b/src/Network/KRPC/Protocol.hs
index d28fdbeb..69d900cc 100644
--- a/src/Network/KRPC/Protocol.hs
+++ b/src/Network/KRPC/Protocol.hs
@@ -17,7 +17,7 @@
17{-# LANGUAGE MultiParamTypeClasses #-} 17{-# LANGUAGE MultiParamTypeClasses #-}
18{-# LANGUAGE FunctionalDependencies #-} 18{-# LANGUAGE FunctionalDependencies #-}
19{-# LANGUAGE DefaultSignatures #-} 19{-# LANGUAGE DefaultSignatures #-}
20module Remote.KRPC.Protocol 20module Network.KRPC.Protocol
21 ( -- * Error 21 ( -- * Error
22 KError(..), ErrorCode, errorCode, mkKError 22 KError(..), ErrorCode, errorCode, mkKError
23 23
diff --git a/src/Network/KRPC/Scheme.hs b/src/Network/KRPC/Scheme.hs
index ebdc7740..15f0b677 100644
--- a/src/Network/KRPC/Scheme.hs
+++ b/src/Network/KRPC/Scheme.hs
@@ -14,7 +14,7 @@
14{-# LANGUAGE TypeSynonymInstances #-} 14{-# LANGUAGE TypeSynonymInstances #-}
15{-# LANGUAGE MultiParamTypeClasses #-} 15{-# LANGUAGE MultiParamTypeClasses #-}
16{-# LANGUAGE FunctionalDependencies #-} 16{-# LANGUAGE FunctionalDependencies #-}
17module Remote.KRPC.Scheme 17module Network.KRPC.Scheme
18 ( KMessage(..) 18 ( KMessage(..)
19 , KQueryScheme(..), methodQueryScheme 19 , KQueryScheme(..), methodQueryScheme
20 , KResponseScheme(..), methodRespScheme 20 , KResponseScheme(..), methodRespScheme
@@ -24,8 +24,8 @@ import Control.Applicative
24import Data.Map as M 24import Data.Map as M
25import Data.Set as S 25import Data.Set as S
26 26
27import Remote.KRPC.Protocol 27import Network.KRPC.Protocol
28import Remote.KRPC 28import Network.KRPC
29 29
30 30
31-- | Used to validate any message by its scheme 31-- | Used to validate any message by its scheme
diff --git a/tests/Client.hs b/tests/Client.hs
index 313cd56e..db7a3219 100644
--- a/tests/Client.hs
+++ b/tests/Client.hs
@@ -14,7 +14,7 @@ import Test.HUnit hiding (Test)
14import Test.Framework 14import Test.Framework
15import Test.Framework.Providers.HUnit 15import Test.Framework.Providers.HUnit
16 16
17import Remote.KRPC 17import Network.KRPC
18import Shared 18import Shared
19 19
20 20
diff --git a/tests/Server.hs b/tests/Server.hs
index aaf6d9f2..9e70b70b 100644
--- a/tests/Server.hs
+++ b/tests/Server.hs
@@ -2,7 +2,7 @@
2module Main (main) where 2module Main (main) where
3 3
4import Data.BEncode 4import Data.BEncode
5import Remote.KRPC 5import Network.KRPC
6import Shared 6import Shared
7 7
8 8
diff --git a/tests/Shared.hs b/tests/Shared.hs
index 1060cfc8..16547644 100644
--- a/tests/Shared.hs
+++ b/tests/Shared.hs
@@ -12,7 +12,7 @@ module Shared
12 12
13import Data.ByteString (ByteString) 13import Data.ByteString (ByteString)
14import Data.BEncode 14import Data.BEncode
15import Remote.KRPC 15import Network.KRPC
16 16
17unitM :: Method () () 17unitM :: Method () ()
18unitM = method "unit" [] [] 18unitM = method "unit" [] []