
#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 simonpj): I am confused about the goal here. I thought the point of speparating out `PprFlags` is because pretty-printing only needs them, not lots of other `DynFlags` stuff. The Descipriotn says "At the moment, SDoc computations have full access to the entirety of DynFlags, despite only a minusculely small amount of the data structure being relevant to them." But if pretty printing ''does'' require a "whole heap of other stuff from `DynFlags`", why not leave it all the way it is? Perhaps it would be worth elaborating the Description to explain a bit more about goal and motivation? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10143#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler