[commit: ghc] master: base: Export runRW# from GHC.Exts (763610e)
git at git.haskell.org
git at git.haskell.org
Wed May 4 17:10:17 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/763610e990207eaa143856fca411d5ad420651ed/ghc
>---------------------------------------------------------------
commit 763610e990207eaa143856fca411d5ad420651ed
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Wed May 4 18:30:51 2016 +0200
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
>---------------------------------------------------------------
763610e990207eaa143856fca411d5ad420651ed
libraries/base/GHC/Exts.hs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libraries/base/GHC/Exts.hs b/libraries/base/GHC/Exts.hs
index 4c147ae..35d344c 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
More information about the ghc-commits
mailing list