Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
b6292338
Commit
b6292338
authored
May 28, 2009
by
simonpj@microsoft.com
Browse files
Remove dead code isHsVar
parent
44ccabe6
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/Inst.lhs
View file @
b6292338
...
...
@@ -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}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment