Derive Show for CoreContext.
[matthijs/master-project/cλash.git] / cλash / CLasH / Normalize / NormalizeTypes.hs
index 966e18e93a5ec6ef21574827d6a2a783f8956e88..4e98709eed26c2bf07dbbf5339014957cd44910d 100644 (file)
@@ -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