[Haskell-cafe] Portable implementation of unsafeCoerce
ndmitchell at gmail.com
Tue Feb 6 11:04:37 EST 2007
> Reading the sources of Lava (a Haskell Hardware Description DSL) I run
> into this definition ...
> unsafeCoerce :: a -> b
> Is this actually equivalent to the infamous unsafeCoerce# ?
Yes, see the comment in the haddock documentation for unsafePerformIO:
More information about the Haskell-Cafe