Spelling only
[ghc-base.git] / Unsafe / Coerce.hs
index 84f4d5a..00444bd 100644 (file)
@@ -13,6 +13,9 @@
 -- type to any other type.  Needless to say, if you use this function,
 -- it is your responsibility to ensure that the old and new types have
 -- identical internal representations, in order to prevent runtime corruption.
+--
+-- 'unsafeCoerce' is just a trivial wrapper for 'unsafeCoerce#';
+-- see the latter for important documentation about correct usage.
 
 module Unsafe.Coerce (unsafeCoerce) where
 
@@ -27,5 +30,5 @@ import NonStdUnsafeCoerce (unsafeCoerce)
 #endif
 
 #if defined(__HUGS__)
-import Hugs.Base (unsafeCoerce)
+import Hugs.IOExts (unsafeCoerce)
 #endif