From 02dde8372d1edd30be171741226be023f7e24668 Mon Sep 17 00:00:00 2001 From: Joachim Breitner Date: Thu, 30 Jan 2014 16:28:51 +0000 Subject: Show docs for coerce and Coercible in GHC.Exts as that is the canonical place for people to import them from. --- libraries/base/GHC/Exts.hs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libraries') 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 -- cgit v1.2.1