summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-05-04 18:30:51 +0200
committerBen Gamari <ben@smart-cactus.org>2016-05-04 18:30:52 +0200
commit763610e990207eaa143856fca411d5ad420651ed (patch)
treeee30e01384c20aee35b9cfd00f699a475a40a261
parent4f2afe1e674606230f2dc2f8ce040a2bd345a647 (diff)
downloadhaskell-763610e990207eaa143856fca411d5ad420651ed.tar.gz
base: Export runRW# from GHC.Exts
Seems like this should be available in GHC.Exts. Thanks for @carter for pointing this out. Test Plan: Validate Reviewers: rwbarton, hvr, austin Reviewed By: austin Subscribers: thomie, carter Differential Revision: https://phabricator.haskell.org/D2171
-rwxr-xr-xlibraries/base/GHC/Exts.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/base/GHC/Exts.hs b/libraries/base/GHC/Exts.hs
index 4c147ae427..35d344cb55 100755
--- a/libraries/base/GHC/Exts.hs
+++ b/libraries/base/GHC/Exts.hs
@@ -46,6 +46,9 @@ module GHC.Exts
-- * Ids with special behaviour
lazy, inline, oneShot,
+ -- * Running 'RealWorld' state transformers
+ runRW#,
+
-- * Safe coercions
--
-- | These are available from the /Trustworthy/ module "Data.Coerce" as well