Remove dead code isHsVar
authorsimonpj@microsoft.com <unknown>
Thu, 28 May 2009 09:27:50 +0000 (09:27 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 28 May 2009 09:27:50 +0000 (09:27 +0000)
compiler/typecheck/Inst.lhs

index 2e08113..05762a2 100644 (file)
@@ -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}