summaryrefslogtreecommitdiff
path: root/libraries/base
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2014-01-30 16:28:51 +0000
committerJoachim Breitner <mail@joachim-breitner.de>2014-01-30 16:28:51 +0000
commit02dde8372d1edd30be171741226be023f7e24668 (patch)
tree46765581138a3048dcf4b12570456d7867d9110e /libraries/base
parent276c46211feedf979118b654b5310ac45d2434db (diff)
downloadhaskell-02dde8372d1edd30be171741226be023f7e24668.tar.gz
Show docs for coerce and Coercible in GHC.Exts
as that is the canonical place for people to import them from.
Diffstat (limited to 'libraries/base')
-rwxr-xr-xlibraries/base/GHC/Exts.hs8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/base/GHC/Exts.hs b/libraries/base/GHC/Exts.hs
index a7a04b4be6..299adabff0 100755
--- a/libraries/base/GHC/Exts.hs
+++ b/libraries/base/GHC/Exts.hs
@@ -45,6 +45,9 @@ module GHC.Exts
-- * Ids with special behaviour
lazy, inline,
+ -- * Safe coercions
+ GHC.Prim.coerce, GHC.Prim.Coercible,
+
-- * Transform comprehensions
Down(..), groupWith, sortWith, the,
@@ -66,8 +69,9 @@ module GHC.Exts
import Prelude
-import GHC.Prim
-import GHC.Base
+import GHC.Prim hiding (coerce, Coercible)
+import qualified GHC.Prim
+import GHC.Base hiding (coerce, Coercible)
import GHC.Word
import GHC.Int
import GHC.Ptr