projects
/
haskell-directory.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2004-04-06 08:54:02 by panne]
[haskell-directory.git]
/
GHC
/
IOBase.lhs
diff --git
a/GHC/IOBase.lhs
b/GHC/IOBase.lhs
index
b669a11
..
5aec209
100644
(file)
--- a/
GHC/IOBase.lhs
+++ b/
GHC/IOBase.lhs
@@
-167,7
+167,7
@@
It is less well known that
>
> main = do
> writeIORef test [42]
-> bang \<- readIORef test
+> bang <- readIORef test
> print (bang :: [Char])
This program will core dump. This problem with polymorphic references