projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b27381f
)
clarify that unsafeCoerce# :: Float# -> Int# is not safe (see #2209)
author
Simon Marlow
<marlowsd@gmail.com>
Tue, 27 May 2008 09:02:44 +0000
(09:02 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Tue, 27 May 2008 09:02:44 +0000
(09:02 +0000)
compiler/prelude/primops.txt.pp
patch
|
blob
|
history
diff --git
a/compiler/prelude/primops.txt.pp
b/compiler/prelude/primops.txt.pp
index
adb2e11
..
471cba1
100644
(file)
--- a/
compiler/prelude/primops.txt.pp
+++ b/
compiler/prelude/primops.txt.pp
@@
-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