| base-3.0.1.0: Basic libraries | Source code | Contents | Index

Unsafe.Coerce |

Portability | portable
Stability | experimental
Maintainer | libraries@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 -> b | Source

Produced by Haddock version 0.8