Export more types from GHC.RTS.Flags (#9970)
authorRyanGlScott <ryan.gl.scott@gmail.com>
Tue, 7 Jul 2015 19:20:07 +0000 (21:20 +0200)
committerBen Gamari <ben@smart-cactus.org>
Tue, 7 Jul 2015 19:20:46 +0000 (21:20 +0200)
commit1967a52df5bea5539e46393fa0da0a1ebd6d9db8
tree463adf2b38e69f9e228619cc6761fa573212aaee
parent00c8d4d551472940303437be1496bf23b882273b
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
libraries/base/GHC/RTS/Flags.hsc
libraries/base/changelog.md