From: Matthijs Kooijman Date: Wed, 31 Mar 2010 10:38:39 +0000 (+0200) Subject: Derive Eq for CoreContext. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Fc%CE%BBash.git;a=commitdiff_plain;h=09f5d39c3904adc8ed5f07a9654dee82692c663b Derive Eq for CoreContext. --- diff --git "a/c\316\273ash/CLasH/Normalize/NormalizeTypes.hs" "b/c\316\273ash/CLasH/Normalize/NormalizeTypes.hs" index 80d39ac..966e18e 100644 --- "a/c\316\273ash/CLasH/Normalize/NormalizeTypes.hs" +++ "b/c\316\273ash/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