[GHC] #10143: Separate PprFlags (used by Outputable) from DynFlags
GHC
ghc-devs at haskell.org
Sat Mar 18 20:27:16 UTC 2017
#10143: Separate PprFlags (used by Outputable) from DynFlags
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner: ezyang
Type: task | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.11
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #10961 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
Dalaing, what ever happened to this?
I would like to see this happen. Currently it is significantly harder than
necessary for API users to use the pretty printer due to the spurious
dependence on the entirety of `DynFlags`. Moreover, this dependency leads
to an awkward coupling between the printer and the all encompassing
`DynFlags` module, leading to a proliferation of import loops.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10143#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list