projects
/
matthijs
/
master-project
/
cλash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cc5512
)
Derive Show for CoreContext.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 31 Mar 2010 11:56:34 +0000
(13:56 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 31 Mar 2010 11:56:34 +0000
(13:56 +0200)
cλash/CLasH/Normalize/NormalizeTypes.hs
patch
|
blob
|
history
diff --git
a/cλash/CLasH/Normalize/NormalizeTypes.hs
b/cλash/CLasH/Normalize/NormalizeTypes.hs
index 966e18e93a5ec6ef21574827d6a2a783f8956e88..4e98709eed26c2bf07dbbf5339014957cd44910d 100644
(file)
--- a/
cλash/CLasH/Normalize/NormalizeTypes.hs
+++ b/
cλash/CLasH/Normalize/NormalizeTypes.hs
@@
-29,6
+29,6
@@
data CoreContext = AppFirst -- ^ The expression is the first
| LambdaBody -- ^ The expression is the body of a
-- lambda abstraction
| Other -- ^ Another context
- deriving
Eq
+ deriving
(Eq, Show)
-- | Transforms a CoreExpr and keeps track if it has changed.
type Transform = [CoreContext] -> CoreSyn.CoreExpr -> TransformMonad CoreSyn.CoreExpr