[GHC] #9970: Export more types in GHC.RTS.Flags

#9970: Export more types in GHC.RTS.Flags -------------------------------------+------------------------------------- Reporter: | Owner: RyanGlScott | Status: new Type: feature | Milestone: request | Version: 7.10.1-rc1 Priority: normal | Operating System: Unknown/Multiple Component: | Type of failure: Other libraries/base | Blocked By: Keywords: | Related Tickets: Architecture: | Unknown/Multiple | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- There are some ADTs in {{{GHC.RTS.Flags}}} that have arguments whose types are not exported. These types are: * {{{GiveGCStats}}} (found in {{{GCFlags}}}) * {{{DoCostCentres}}} (found in {{{CCFlags}}}) * {{{DoHeapProfile}}} (found in {{{ProfFlags}}}) * {{{DoTrace}}} (found in {{{TraceFlags}}}) This makes it pretty difficult to do anything useful with them, since they can't be pattern-matched. In addition, there are some unexported type synonyms: * {{{type Time = Word64}}} * {{{type Nat = #{type unsigned int} }}} (likely a {{{Word32}}}) The Haddock docs for {{{GHC.RTS.Flags}}} don't give much of an indication of what {{{Time}}} and {{{Nat}}} are, and since they're already documented in [https://phabricator.haskell.org/diffusion/GHC/browse/master/libraries/base/G... the source], they should probably be exported. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9970 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9970: Export more types in GHC.RTS.Flags -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: feature request | Status: new Priority: normal | Milestone: 7.10.1 Component: libraries/base | Version: 7.10.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by ezyang): * milestone: => 7.10.1 Comment: Let's try to fix this for 7.10. Can someone contribute a patch? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9970#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9970: Export more types in GHC.RTS.Flags -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: feature request | RyanGlScott Priority: normal | Status: new Component: libraries/base | Milestone: 7.12.1 Resolution: | Version: 7.10.1-rc1 Operating System: Unknown/Multiple | Keywords: Type of failure: Other | Architecture: Blocked By: | Unknown/Multiple Related Tickets: | Test Case: | Blocking: | Differential Revisions: Phab:D1030 -------------------------------------+------------------------------------- Changes (by RyanGlScott): * owner: => RyanGlScott * differential: => Phab:D1030 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9970#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9970: Export more types in GHC.RTS.Flags
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner:
Type: feature request | RyanGlScott
Priority: normal | Status: new
Component: libraries/base | Milestone: 7.12.1
Resolution: | Version: 7.10.1-rc1
Operating System: Unknown/Multiple | Keywords:
Type of failure: Other | Architecture:
Blocked By: | Unknown/Multiple
Related Tickets: | Test Case:
| Blocking:
| Differential Revisions: Phab:D1030
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#9970: Export more types in GHC.RTS.Flags -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: feature request | RyanGlScott Priority: normal | Status: merge Component: libraries/base | Milestone: 7.10.3 Resolution: | Version: 7.10.1-rc1 Operating System: Unknown/Multiple | Keywords: Type of failure: Other | Architecture: Blocked By: | Unknown/Multiple Related Tickets: | Test Case: | Blocking: | Differential Revisions: Phab:D1030 -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => merge * milestone: 7.12.1 => 7.10.3 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9970#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9970: Export more types in GHC.RTS.Flags -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: feature request | RyanGlScott Priority: normal | Status: closed Component: libraries/base | Milestone: 7.10.3 Resolution: fixed | Version: 7.10.1-rc1 Operating System: Unknown/Multiple | Keywords: Type of failure: Other | Architecture: Blocked By: | Unknown/Multiple Related Tickets: | Test Case: | Blocking: | Differential Revisions: Phab:D1030 -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9970#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9970: Export more types in GHC.RTS.Flags -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: | RyanGlScott Type: feature request | Status: merge Priority: normal | Milestone: 7.10.3 Component: libraries/base | Version: 7.10.1-rc1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: Phab:D1030 -------------------------------------+------------------------------------- Changes (by bgamari): * status: closed => merge -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9970#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9970: Export more types in GHC.RTS.Flags -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: | RyanGlScott Type: feature request | Status: closed Priority: normal | Milestone: 7.10.3 Component: libraries/base | Version: 7.10.1-rc1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: Phab:D1030 -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed Comment: Merged to `ghc-7.10` as e435b0a. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9970#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC