From 35da716a84d9b1fa0cdbebf1b6123fe8593f9b87 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Mon, 21 Apr 2008 15:22:51 +0000 Subject: [PATCH] In docs for unsafeCoerce, point to unsafeCoerce# --- Unsafe/Coerce.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Unsafe/Coerce.hs b/Unsafe/Coerce.hs index 42567a9..b1cb11b 100644 --- a/Unsafe/Coerce.hs +++ b/Unsafe/Coerce.hs @@ -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 -- 1.7.10.4