X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Pretty.hs;h=b2ac91ddb6e3334b4b075df407c96936d8855195;hb=e230d86ae7135a268a72cdffba947a9011001ec2;hp=0cc2b59d98ab4f2ab36ae49aa5e812afdc4b3a60;hpb=6e1beb07825c53ab0da16b815d58c24a1b4ea449;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Pretty.hs b/Pretty.hs index 0cc2b59..b2ac91d 100644 --- a/Pretty.hs +++ b/Pretty.hs @@ -132,6 +132,9 @@ instance (OutputableBndr b, Show b) => Pretty (CoreSyn.Bind b) where pPrint (CoreSyn.Rec binds) = text "Rec: " $$ nest 10 (vcat $ map (prettyBind) binds) +instance (OutputableBndr b, Show b) => Pretty (CoreSyn.Expr b) where + pPrint = text . show + instance Pretty AST.VHDLId where pPrint id = ForSyDe.Backend.Ppr.ppr id