projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
039848a
)
note about evaluation affecting StableNames
author
Simon Marlow
<marlowsd@gmail.com>
Tue, 27 May 2008 11:05:49 +0000
(11:05 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Tue, 27 May 2008 11:05:49 +0000
(11:05 +0000)
System/Mem/StableName.hs
patch
|
blob
|
history
diff --git
a/System/Mem/StableName.hs
b/System/Mem/StableName.hs
index
f0919f9
..
a2f9397
100644
(file)
--- a/
System/Mem/StableName.hs
+++ b/
System/Mem/StableName.hs
@@
-55,7
+55,9
@@
import GHC.Base ( Int(..), StableName#, makeStableName#
the same object.
The reverse is not necessarily true: if two stable names are not
- equal, then the objects they name may still be equal.
+ equal, then the objects they name may still be equal. Note in particular
+ that `mkStableName` may return a different `StableName` after an
+ object is evaluated.
Stable Names are similar to Stable Pointers ("Foreign.StablePtr"),
but differ in the following ways: