diff options
-rw-r--r-- | bench/Main.hs | 2 | ||||
-rw-r--r-- | bench/Server.hs | 2 | ||||
-rw-r--r-- | krpc.cabal | 6 | ||||
-rw-r--r-- | src/Network/KRPC.hs | 4 | ||||
-rw-r--r-- | src/Network/KRPC/Protocol.hs | 2 | ||||
-rw-r--r-- | src/Network/KRPC/Scheme.hs | 6 | ||||
-rw-r--r-- | tests/Client.hs | 2 | ||||
-rw-r--r-- | tests/Server.hs | 2 | ||||
-rw-r--r-- | tests/Shared.hs | 2 |
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 | |||
5 | import Data.ByteString (ByteString) | 5 | import Data.ByteString (ByteString) |
6 | import qualified Data.ByteString as B | 6 | import qualified Data.ByteString as B |
7 | import Criterion.Main | 7 | import Criterion.Main |
8 | import Remote.KRPC | 8 | import Network.KRPC |
9 | 9 | ||
10 | 10 | ||
11 | addr :: RemoteAddr | 11 | addr :: 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 @@ | |||
2 | module Main (main) where | 2 | module Main (main) where |
3 | 3 | ||
4 | import Data.ByteString (ByteString) | 4 | import Data.ByteString (ByteString) |
5 | import Remote.KRPC | 5 | import Network.KRPC |
6 | 6 | ||
7 | 7 | ||
8 | echo :: Method ByteString ByteString | 8 | echo :: Method ByteString ByteString |
@@ -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 #-} |
97 | module Remote.KRPC | 97 | module Network.KRPC |
98 | ( -- * Method | 98 | ( -- * Method |
99 | Method(..) | 99 | Method(..) |
100 | , method, idM | 100 | , method, idM |
@@ -128,7 +128,7 @@ import Data.Typeable | |||
128 | import Network | 128 | import Network |
129 | import GHC.Generics | 129 | import GHC.Generics |
130 | 130 | ||
131 | import Remote.KRPC.Protocol | 131 | import 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 #-} |
20 | module Remote.KRPC.Protocol | 20 | module 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 #-} |
17 | module Remote.KRPC.Scheme | 17 | module 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 | |||
24 | import Data.Map as M | 24 | import Data.Map as M |
25 | import Data.Set as S | 25 | import Data.Set as S |
26 | 26 | ||
27 | import Remote.KRPC.Protocol | 27 | import Network.KRPC.Protocol |
28 | import Remote.KRPC | 28 | import 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) | |||
14 | import Test.Framework | 14 | import Test.Framework |
15 | import Test.Framework.Providers.HUnit | 15 | import Test.Framework.Providers.HUnit |
16 | 16 | ||
17 | import Remote.KRPC | 17 | import Network.KRPC |
18 | import Shared | 18 | import 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 @@ | |||
2 | module Main (main) where | 2 | module Main (main) where |
3 | 3 | ||
4 | import Data.BEncode | 4 | import Data.BEncode |
5 | import Remote.KRPC | 5 | import Network.KRPC |
6 | import Shared | 6 | import 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 | ||
13 | import Data.ByteString (ByteString) | 13 | import Data.ByteString (ByteString) |
14 | import Data.BEncode | 14 | import Data.BEncode |
15 | import Remote.KRPC | 15 | import Network.KRPC |
16 | 16 | ||
17 | unitM :: Method () () | 17 | unitM :: Method () () |
18 | unitM = method "unit" [] [] | 18 | unitM = method "unit" [] [] |