Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5d5b74b9
Commit
5d5b74b9
authored
Jul 31, 2008
by
batterseapower
Browse files
Follow OccName and MkCore changes in Inst
parent
2a8123e1
Changes
1
Show whitespace changes
Inline
Side-by-side
compiler/typecheck/Inst.lhs
View file @
5d5b74b9
...
@@ -61,7 +61,7 @@ import InstEnv
...
@@ -61,7 +61,7 @@ import InstEnv
import FunDeps
import FunDeps
import TcMType
import TcMType
import TcType
import TcType
import
DsUtils
import
MkCore
import Type
import Type
import TypeRep
import TypeRep
import Class
import Class
...
@@ -385,7 +385,7 @@ mkPredName uniq loc pred_ty
...
@@ -385,7 +385,7 @@ mkPredName uniq loc pred_ty
-- we use the outermost tycon of the lhs, if there is one, to
-- we use the outermost tycon of the lhs, if there is one, to
-- improve readability of Core code
-- improve readability of Core code
baseOcc = case splitTyConApp_maybe ty of
baseOcc = case splitTyConApp_maybe ty of
Nothing -> mkOcc
Name tcName
"$"
Nothing -> mk
Tc
Occ "$"
Just (tc, _) -> getOccName tc
Just (tc, _) -> getOccName tc
\end{code}
\end{code}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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