X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=c%CE%BBash%2FCLasH%2FNormalize%2FNormalizeTypes.hs;h=4e98709eed26c2bf07dbbf5339014957cd44910d;hb=07a6394442d0d83a754af8f0d90f3702bb1821c6;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..4e98709 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, Show) -- | Transforms a CoreExpr and keeps track if it has changed. type Transform = [CoreContext] -> CoreSyn.CoreExpr -> TransformMonad CoreSyn.CoreExpr