From d3f63d65d80aaab4ad8eac43ee1caea7dea09fbd Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 19 Jun 2012 21:02:23 +0200 Subject: [PATCH] types: remove dirty Ord instance of MethodSignature we moved that finally to hs-java-0.3.3 --- Mate/Types.hs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Mate/Types.hs b/Mate/Types.hs index 59ebd6a..5405a43 100644 --- a/Mate/Types.hs +++ b/Mate/Types.hs @@ -52,14 +52,6 @@ data MethodInfo = MethodInfo { methSignature :: MethodSignature } deriving (Eq, Ord) --- TODO(bernhard): not really efficient. also, outsource that to hs-java --- deriving should be enough? -instance Ord MethodSignature where - compare (MethodSignature args_a ret_a) (MethodSignature args_b ret_b) - | cmp_args /= EQ = cmp_args - | otherwise = show ret_a `compare` show ret_b - where cmp_args = show args_a `compare` show args_b - instance Show MethodInfo where show (MethodInfo method c sig) = toString c ++ "." ++ toString method ++ "." ++ show sig -- 2.25.1