Skip to content
GitLab
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
592b4048
Commit
592b4048
authored
Oct 29, 2008
by
simonpj@microsoft.com
Browse files
Add Outputable instance for CoercionI
parent
c3fe0f36
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/types/Coercion.lhs
View file @
592b4048
...
...
@@ -576,6 +576,10 @@ coreEqCoercion = coreEqType
-- 2. The identity coercion
data CoercionI = IdCo | ACo Coercion
instance Outputable CoercionI where
ppr IdCo = ptext (sLit "IdCo")
ppr (ACo co) = ppr co
isIdentityCoercion :: CoercionI -> Bool
isIdentityCoercion IdCo = True
isIdentityCoercion _ = False
...
...
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