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

GHC ghc-devs at haskell.org
Tue Jul 7 19:20:35 UTC 2015


#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 <ben@…>):

 In [changeset:"1967a52df5bea5539e46393fa0da0a1ebd6d9db8/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1967a52df5bea5539e46393fa0da0a1ebd6d9db8"
 Export more types from GHC.RTS.Flags (#9970)

 Export the data types `GiveGCStats`, `DoCostCentres`, `DoHeapProfiles`,
 and `DoTrace`, as well as the type synonyms `Time` and `RtsNat`. The
 above data types appear as fields in the `-Stats` data types in
 `GHC.RTS.Flags`, but since they only have `Show` instances, it is
 practically impossible to due anything useful with the above types
 unless they are exported.

 Reviewers: hvr, ekmett, austin, ezyang, bgamari

 Reviewed By: bgamari

 Subscribers: thomie, bgamari

 Differential Revision: https://phabricator.haskell.org/D1030

 GHC Trac Issues: #9970
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9970#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list