From 7843136fb05c71f2a0c8e7cd4980ecf1b951ffbe Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Fri, 1 Aug 2014 21:57:18 +0200 Subject: Remove unnecessary FunctionalDependency This fixes cobit/bittorrent#7 for GHC 7.8.3: 7.8.3 fixed FunctionalDependencies so the existing instances are no longer allowed and in fact FD is not necessary there at all. --- src/Network/KRPC/Method.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Network/KRPC') 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 @@ -- {-# LANGUAGE RankNTypes #-} {-# LANGUAGE MultiParamTypeClasses #-} -{-# LANGUAGE FunctionalDependencies #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE DefaultSignatures #-} @@ -75,7 +74,7 @@ showsMethod (Method name) = -- @ -- class (Typeable req, BEncode req, Typeable resp, BEncode resp) - => KRPC req resp | req -> resp where + => KRPC req resp where -- | Method name. Default implementation uses lowercased @req@ -- datatype name. -- cgit v1.2.3