[project @ 1999-07-27 11:12:05 by simonmar]
authorsimonmar <unknown>
Tue, 27 Jul 1999 11:12:05 +0000 (11:12 +0000)
committersimonmar <unknown>
Tue, 27 Jul 1999 11:12:05 +0000 (11:12 +0000)
commitb7ffad2a80db06fa106c7ae6e9090ad117b5bc3c
tree90a40916e5581f39e38663692d1673043d442ef0
parent3c40d60230391949db9de4f1ffe3b8a61ce72090
[project @ 1999-07-27 11:12:05 by simonmar]
add unofficial/undocumented function:

    mkWeakIORef :: IORef a -> IO () -> IO (Weak (IORef a))

for weak pointers to IORefs.  This avoids some of the problems with
inlining disturbing the semantics of mkWeak by making the weak key
point to the primitive MutVar instead of the box.
ghc/lib/exts/IOExts.lhs