diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-09-28 07:47:05 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-09-28 07:47:05 +0400 |
commit | 0af7da8ec92b12081e24ece17a7e54f95ab64ad6 (patch) | |
tree | feb988807ea2ad664b2ebf4f45085c38db8b2bed /src/Network/KRPC/Protocol.hs | |
parent | 4bef345a5871255e12e685ca01f5cfb127ff691a (diff) |
Code style
Diffstat (limited to 'src/Network/KRPC/Protocol.hs')
-rw-r--r-- | src/Network/KRPC/Protocol.hs | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/src/Network/KRPC/Protocol.hs b/src/Network/KRPC/Protocol.hs index 69d900cc..77aa29e1 100644 --- a/src/Network/KRPC/Protocol.hs +++ b/src/Network/KRPC/Protocol.hs | |||
@@ -19,21 +19,38 @@ | |||
19 | {-# LANGUAGE DefaultSignatures #-} | 19 | {-# LANGUAGE DefaultSignatures #-} |
20 | module Network.KRPC.Protocol | 20 | module Network.KRPC.Protocol |
21 | ( -- * Error | 21 | ( -- * Error |
22 | KError(..), ErrorCode, errorCode, mkKError | 22 | KError(..) |
23 | , ErrorCode | ||
24 | , errorCode | ||
25 | , mkKError | ||
23 | 26 | ||
24 | -- * Query | 27 | -- * Query |
25 | , KQuery(queryMethod, queryArgs), MethodName, ParamName, kquery | 28 | , KQuery(queryMethod, queryArgs) |
29 | , MethodName | ||
30 | , ParamName | ||
31 | , kquery | ||
26 | 32 | ||
27 | -- * Response | 33 | -- * Response |
28 | , KResponse(respVals), ValName, kresponse | 34 | , KResponse(respVals) |
35 | , ValName | ||
36 | , kresponse | ||
29 | 37 | ||
30 | , sendMessage, recvResponse | 38 | , sendMessage |
39 | , recvResponse | ||
31 | 40 | ||
32 | -- * Remote | 41 | -- * Remote |
33 | , KRemote, KRemoteAddr, withRemote, remoteServer | 42 | , KRemote |
43 | , KRemoteAddr | ||
44 | , withRemote | ||
45 | , remoteServer | ||
34 | 46 | ||
35 | -- * Re-exports | 47 | -- * Re-exports |
36 | , encode, encoded, decode, decoded, toBEncode, fromBEncode | 48 | , encode |
49 | , encoded | ||
50 | , decode | ||
51 | , decoded | ||
52 | , toBEncode | ||
53 | , fromBEncode | ||
37 | ) where | 54 | ) where |
38 | 55 | ||
39 | import Control.Applicative | 56 | import Control.Applicative |