[GHC] #11660: Remove Type pretty-printer in favor of IfaceType
GHC
ghc-devs at haskell.org
Wed Mar 2 12:37:09 UTC 2016
#11660: Remove Type pretty-printer in favor of IfaceType
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
I'm sure we can deal with that. Eg in `TyCoRep` put just
{{{
instance Outputable Type where
ppr = pprType
}}}
and then yes `{-# SOURCE #-}` import `IfaceType` which defines `pprType`
and others. Import `IfactType` into `Type` and re-export the pretty-
printing functions.
But before worrying much let's check that it works at all!
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11660#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list