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:
bcaa7ec
)
Derive Eq for CoreContext.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 31 Mar 2010 10:38:39 +0000
(12:38 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 31 Mar 2010 10:38:39 +0000
(12:38 +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 80d39ac19ce10dbfccb75af33057a49e24f0c9a1..966e18e93a5ec6ef21574827d6a2a783f8956e88 100644
(file)
--- a/
cλash/CLasH/Normalize/NormalizeTypes.hs
+++ b/
cλash/CLasH/Normalize/NormalizeTypes.hs
@@
-29,5
+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
-- | Transforms a CoreExpr and keeps track if it has changed.
type Transform = [CoreContext] -> CoreSyn.CoreExpr -> TransformMonad CoreSyn.CoreExpr