Skip to content
Snippets Groups Projects
Commit b7ffad2a authored by Simon Marlow's avatar Simon Marlow
Browse files

[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.
parent 3c40d602
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment