• Simon Peyton Jones's avatar
    Tidy up pretty-printing for variables · c492e50b
    Simon Peyton Jones authored
    We already have a class OutputableBndr; this patch adds
    methods pprInfixOcc and pprPrefixOcc, so that we can get
    rid of the hideous hack (the old) Outputable.pprHsVar.
    The hack was exposed by Trac #5657, which is thereby fixed.
Name.lhs 20.2 KB