diff options
Diffstat (limited to 'src/Network/KRPC')
-rw-r--r-- | src/Network/KRPC/Method.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Network/KRPC/Method.hs b/src/Network/KRPC/Method.hs index 10f988b8..ea9da958 100644 --- a/src/Network/KRPC/Method.hs +++ b/src/Network/KRPC/Method.hs | |||
@@ -9,7 +9,6 @@ | |||
9 | -- | 9 | -- |
10 | {-# LANGUAGE RankNTypes #-} | 10 | {-# LANGUAGE RankNTypes #-} |
11 | {-# LANGUAGE MultiParamTypeClasses #-} | 11 | {-# LANGUAGE MultiParamTypeClasses #-} |
12 | {-# LANGUAGE FunctionalDependencies #-} | ||
13 | {-# LANGUAGE GeneralizedNewtypeDeriving #-} | 12 | {-# LANGUAGE GeneralizedNewtypeDeriving #-} |
14 | {-# LANGUAGE ScopedTypeVariables #-} | 13 | {-# LANGUAGE ScopedTypeVariables #-} |
15 | {-# LANGUAGE DefaultSignatures #-} | 14 | {-# LANGUAGE DefaultSignatures #-} |
@@ -75,7 +74,7 @@ showsMethod (Method name) = | |||
75 | -- @ | 74 | -- @ |
76 | -- | 75 | -- |
77 | class (Typeable req, BEncode req, Typeable resp, BEncode resp) | 76 | class (Typeable req, BEncode req, Typeable resp, BEncode resp) |
78 | => KRPC req resp | req -> resp where | 77 | => KRPC req resp where |
79 | 78 | ||
80 | -- | Method name. Default implementation uses lowercased @req@ | 79 | -- | Method name. Default implementation uses lowercased @req@ |
81 | -- datatype name. | 80 | -- datatype name. |