patch applied (ghc): Add the function TypeRep.pprTypeApp, and use it

Simon Peyton Jones <[email protected]> Thu, 11 Jan 2007 01:17:43 -0800
Newsgroups gmane.comp.lang.haskell.cvs.all,gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Thu Jan 11 01:07:04 PST 2007  [email protected]
  * Add the function TypeRep.pprTypeApp, and use it
  
    pprTypeApp :: SDoc -> [Type] -> SDoc
    pprTypeApp pp tys = hang pp 2 (sep (map pprParendType tys))

    M ./compiler/main/GHC.hs -3 +5
    M ./compiler/main/PprTyThing.hs -1 +1
    M ./compiler/typecheck/TcEnv.lhs -1 +1
    M ./compiler/typecheck/TcType.lhs -1 +1
    M ./compiler/types/FamInstEnv.lhs -2 +7
    M ./compiler/types/Type.lhs -6 +9
    M ./compiler/types/TypeRep.lhs -5 +7