Commit eb78c4c6 authored by Simon Marlow's avatar Simon Marlow
Browse files

clarify that unsafeCoerce# :: Float# -> Int# is not safe (see #2209)

parent b27381f4
......@@ -1801,6 +1801,7 @@ pseudoop "unsafeCoerce#"
* Casting {\tt Any} back to the real type
* Casting an unboxed type to another unboxed type of the same size
(but not coercions between floating-point and integral types)
* Casting between two types that have the same runtime representation. One case is when
the two types differ only in "phantom" type parameters, for example
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment