David Feuer david.feuer at
Fri Jun 22 06:43:23 UTC 2018

Currently, atomicWriteIORef is implemented using atomicModifyIORef. That
seems pretty heavy for the job, allocating closures and forcing thunks. Is
there a reason not to do it with casMutVar#?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list