diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-07-08 23:52:51 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-07-08 23:52:51 +0400 |
commit | e097ec428c7334d0b25dc4fcbf3b82a58e79fa62 (patch) | |
tree | 6eab82084896e8f53dac9f578b197974e7c43ac3 /src | |
parent | e8dc0c6087738dc6e08298e3c108d8d61fd92a10 (diff) |
~ Prettify extensions lists.
Diffstat (limited to 'src')
-rw-r--r-- | src/Remote/KRPC.hs | 10 | ||||
-rw-r--r-- | src/Remote/KRPC/Protocol.hs | 10 | ||||
-rw-r--r-- | src/Remote/KRPC/Scheme.hs | 7 |
3 files changed, 16 insertions, 11 deletions
diff --git a/src/Remote/KRPC.hs b/src/Remote/KRPC.hs index 74842db6..cca8342f 100644 --- a/src/Remote/KRPC.hs +++ b/src/Remote/KRPC.hs | |||
@@ -84,10 +84,12 @@ | |||
84 | -- | 84 | -- |
85 | -- For protocol details see 'Remote.KRPC.Protocol' module. | 85 | -- For protocol details see 'Remote.KRPC.Protocol' module. |
86 | -- | 86 | -- |
87 | {-# LANGUAGE OverloadedStrings #-} | 87 | {-# LANGUAGE OverloadedStrings #-} |
88 | {-# LANGUAGE FlexibleContexts, DeriveDataTypeable #-} | 88 | {-# LANGUAGE FlexibleContexts #-} |
89 | {-# LANGUAGE ExplicitForAll, KindSignatures #-} | 89 | {-# LANGUAGE DeriveDataTypeable #-} |
90 | {-# LANGUAGE ViewPatterns #-} | 90 | {-# LANGUAGE ExplicitForAll #-} |
91 | {-# LANGUAGE KindSignatures #-} | ||
92 | {-# LANGUAGE ViewPatterns #-} | ||
91 | module Remote.KRPC | 93 | module Remote.KRPC |
92 | ( -- * Method | 94 | ( -- * Method |
93 | Method(..) | 95 | Method(..) |
diff --git a/src/Remote/KRPC/Protocol.hs b/src/Remote/KRPC/Protocol.hs index 2e41bb2e..0cbb041d 100644 --- a/src/Remote/KRPC/Protocol.hs +++ b/src/Remote/KRPC/Protocol.hs | |||
@@ -11,10 +11,12 @@ | |||
11 | -- | 11 | -- |
12 | -- > See http://www.bittorrent.org/beps/bep_0005.html#krpc-protocol | 12 | -- > See http://www.bittorrent.org/beps/bep_0005.html#krpc-protocol |
13 | -- | 13 | -- |
14 | {-# LANGUAGE OverloadedStrings #-} | 14 | {-# LANGUAGE OverloadedStrings #-} |
15 | {-# LANGUAGE FlexibleContexts, TypeSynonymInstances #-} | 15 | {-# LANGUAGE FlexibleContexts #-} |
16 | {-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies #-} | 16 | {-# LANGUAGE TypeSynonymInstances #-} |
17 | {-# LANGUAGE DefaultSignatures #-} | 17 | {-# LANGUAGE MultiParamTypeClasses #-} |
18 | {-# LANGUAGE FunctionalDependencies #-} | ||
19 | {-# LANGUAGE DefaultSignatures #-} | ||
18 | module Remote.KRPC.Protocol | 20 | module Remote.KRPC.Protocol |
19 | ( | 21 | ( |
20 | 22 | ||
diff --git a/src/Remote/KRPC/Scheme.hs b/src/Remote/KRPC/Scheme.hs index 378883bb..1cf970ea 100644 --- a/src/Remote/KRPC/Scheme.hs +++ b/src/Remote/KRPC/Scheme.hs | |||
@@ -10,9 +10,10 @@ | |||
10 | -- with 'Remote.KRPC.Protocol', otherwise (if you are using 'Remote.KRPC') | 10 | -- with 'Remote.KRPC.Protocol', otherwise (if you are using 'Remote.KRPC') |
11 | -- this module seems to be useless. | 11 | -- this module seems to be useless. |
12 | -- | 12 | -- |
13 | {-# LANGUAGE DefaultSignatures #-} | 13 | {-# LANGUAGE DefaultSignatures #-} |
14 | {-# LANGUAGE TypeSynonymInstances #-} | 14 | {-# LANGUAGE TypeSynonymInstances #-} |
15 | {-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies #-} | 15 | {-# LANGUAGE MultiParamTypeClasses #-} |
16 | {-# LANGUAGE FunctionalDependencies #-} | ||
16 | module Remote.KRPC.Scheme | 17 | module Remote.KRPC.Scheme |
17 | ( KMessage(..) | 18 | ( KMessage(..) |
18 | , KQueryScheme(..), methodQueryScheme | 19 | , KQueryScheme(..), methodQueryScheme |