From 05e70386c2248d87a61a8e8267e0211597f2fa88 Mon Sep 17 00:00:00 2001 From: joe Date: Thu, 22 Jun 2017 02:35:29 -0400 Subject: Simplified KRPC class. --- src/Network/KRPC/Method.hs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Network/KRPC/Method.hs') diff --git a/src/Network/KRPC/Method.hs b/src/Network/KRPC/Method.hs index ea11720c..3a2bd020 100644 --- a/src/Network/KRPC/Method.hs +++ b/src/Network/KRPC/Method.hs @@ -97,8 +97,6 @@ class ( Typeable req, Typeable resp ) => KRPC req resp | req -> resp, resp -> req where - type Envelope req resp - -- | Method name. Default implementation uses lowercased @req@ -- datatype name. -- @@ -111,6 +109,3 @@ class ( Typeable req, Typeable resp where hole = error "krpc.method: impossible" :: req #endif - - unseal :: Envelope req resp -> Either String req - seal :: resp -> Envelope req resp -- cgit v1.2.3