X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Pretty.hs;h=b2ac91ddb6e3334b4b075df407c96936d8855195;hb=b9aa3bd5f003fe7604d0610629c3771245b9ef90;hp=0cc2b59d98ab4f2ab36ae49aa5e812afdc4b3a60;hpb=52d5de13a6c89e7dbc46627888210ddcda1c3e6c;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