+{-# OPTIONS_GHC -fno-implicit-prelude #-}
-----------------------------------------------------------------------------
-- |
-- Module : Unsafe.Coerce
-- 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
#endif
#if defined(__HUGS__)
-import Hugs.Base (unsafeCoerce)
+import Hugs.IOExts (unsafeCoerce)
#endif