diff options
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/prelude/primops.txt.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp index 8c936c6ac5..8c9cc92b9a 100644 --- a/compiler/prelude/primops.txt.pp +++ b/compiler/prelude/primops.txt.pp @@ -2830,8 +2830,9 @@ 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 an unboxed type to another unboxed type of the same size. + (Casting between floating-point and integral types does not work. + See the {\tt GHC.Float} module for functions to do work.) * 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 |
