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
jberryman
GHC
Commits
7c603aba
Commit
7c603aba
authored
Feb 18, 2014
by
Joachim Breitner
Browse files
Call Arity refactoring: instance Outputable Count
parent
983fbbe7
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/simplCore/CallArity.hs
View file @
7c603aba
...
...
@@ -16,6 +16,7 @@ import CoreSyn
import
Id
import
CoreArity
(
exprArity
,
typeArity
)
import
CoreUtils
(
exprIsHNF
)
import
Outputable
import
Control.Arrow
(
first
,
second
)
...
...
@@ -482,3 +483,6 @@ ltCallCount c1 c2 = c1 `lteCallCount` c2 && c1 /= c2
lubEnv
::
CallArityEnv
->
CallArityEnv
->
CallArityEnv
lubEnv
=
plusVarEnv_C
lubCallCount
instance
Outputable
Count
where
ppr
Many
=
text
"Many"
ppr
OnceAndOnly
=
text
"OnceAndOnly"
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