X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=c%CE%BBash%2FCLasH%2FNormalize%2FNormalizeTypes.hs;h=966e18e93a5ec6ef21574827d6a2a783f8956e88;hb=09f5d39c3904adc8ed5f07a9654dee82692c663b;hp=e412e96a791635ed33d747e8e7333adffe175b50;hpb=832e51575f3361daefd1e0d0c0e25ba7397c2e6a;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git "a/c\316\273ash/CLasH/Normalize/NormalizeTypes.hs" "b/c\316\273ash/CLasH/Normalize/NormalizeTypes.hs" index e412e96..966e18e 100644 --- "a/c\316\273ash/CLasH/Normalize/NormalizeTypes.hs" +++ "b/c\316\273ash/CLasH/Normalize/NormalizeTypes.hs" @@ -26,7 +26,9 @@ data CoreContext = AppFirst -- ^ The expression is the first -- expression. | LetBody -- ^ The expression is the body of a -- let expression + | 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