X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FInst.lhs;h=05762a2d79b492e957b741d766a560948812ffe6;hb=62070c7f5bb3f4248557c30a0a9afa96c4f31799;hp=2e081130ad88cdf06bbed36adec5b772acf0ba45;hpb=296058a1cafa80dec0b3f998348bce7c65f668b0;p=ghc-hetmet.git diff --git a/compiler/typecheck/Inst.lhs b/compiler/typecheck/Inst.lhs index 2e08113..05762a2 100644 --- a/compiler/typecheck/Inst.lhs +++ b/compiler/typecheck/Inst.lhs @@ -20,7 +20,7 @@ module Inst ( cloneDict, mkOverLit, newIPDict, newMethod, newMethodFromName, newMethodWithGivenTy, tcInstClassOp, - tcSyntaxName, isHsVar, + tcSyntaxName, tyVarsOfInst, tyVarsOfInsts, tyVarsOfLIE, tcTyVarsOfInst, tcTyVarsOfInsts, ipNamesOfInst, ipNamesOfInsts, fdPredsOfInst, @@ -570,10 +570,6 @@ mkOverLit (HsFractional r) ; return (HsRat r rat_ty) } mkOverLit (HsIsString s) = return (HsString s) - -isHsVar :: HsExpr Name -> Name -> Bool -isHsVar (HsVar f) g = f == g -isHsVar _ _ = False \end{code}