diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-19 17:20:16 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-19 17:20:16 +0400 |
commit | 7a13eea1ad815411ee7bce4dcaa8a49bdd979356 (patch) | |
tree | fc9f73186891684d23d49e503bfdf4f291d6d405 /src | |
parent | 621c73c849332a9446c6e5b9bcd557b30884b318 (diff) |
Rename Protocol module to Message
Diffstat (limited to 'src')
-rw-r--r-- | src/Network/KRPC.hs | 2 | ||||
-rw-r--r-- | src/Network/KRPC/Message.hs (renamed from src/Network/KRPC/Protocol.hs) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/KRPC.hs b/src/Network/KRPC.hs index 802cddc5..8e158f48 100644 --- a/src/Network/KRPC.hs +++ b/src/Network/KRPC.hs | |||
@@ -130,7 +130,7 @@ import Network | |||
130 | import Network.Socket | 130 | import Network.Socket |
131 | import Network.Socket.ByteString as BS | 131 | import Network.Socket.ByteString as BS |
132 | 132 | ||
133 | import Network.KRPC.Protocol | 133 | import Network.KRPC.Message |
134 | 134 | ||
135 | 135 | ||
136 | class (BEncode req, BEncode resp) => KRPC req resp | req -> resp where | 136 | class (BEncode req, BEncode resp) => KRPC req resp | req -> resp where |
diff --git a/src/Network/KRPC/Protocol.hs b/src/Network/KRPC/Message.hs index 55bbdf4e..854b733c 100644 --- a/src/Network/KRPC/Protocol.hs +++ b/src/Network/KRPC/Message.hs | |||
@@ -18,7 +18,7 @@ | |||
18 | {-# LANGUAGE FunctionalDependencies #-} | 18 | {-# LANGUAGE FunctionalDependencies #-} |
19 | {-# LANGUAGE DefaultSignatures #-} | 19 | {-# LANGUAGE DefaultSignatures #-} |
20 | {-# LANGUAGE DeriveDataTypeable #-} | 20 | {-# LANGUAGE DeriveDataTypeable #-} |
21 | module Network.KRPC.Protocol | 21 | module Network.KRPC.Message |
22 | ( -- * Error | 22 | ( -- * Error |
23 | KError(..) | 23 | KError(..) |
24 | , serverError | 24 | , serverError |