In docs for unsafeCoerce, point to unsafeCoerce#
authorsimonpj@microsoft.com <unknown>
Mon, 21 Apr 2008 15:22:51 +0000 (15:22 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 21 Apr 2008 15:22:51 +0000 (15:22 +0000)
Unsafe/Coerce.hs

index 42567a9..b1cb11b 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 documetation about correct usage.
 
 module Unsafe.Coerce (unsafeCoerce) where