base-3.0.1.0: Basic librariesSource codeContentsIndex
Unsafe.Coerce
Portabilityportable
Stabilityexperimental
Maintainerlibraries@haskell.org
Description
The highly unsafe primitive unsafeCoerce converts a value from any 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.
Documentation
unsafeCoerce :: a -> bSource
Produced by Haddock version 0.8