[Haskell-cafe] IORef memory leak

Gregory Collins greg at gregorycollins.net
Fri Jun 19 16:04:46 EDT 2009


Jim Snow <jsnow at cs.pdx.edu> writes:

> Works for me.  The laziness of modifyIORef and workarounds would be a
> good thing to have documented in the modifyIORef docs, since it's
> probably a common source of memory leaks.  I'd also be in favor of a
> strict version of modifyIORef.

http://hackage.haskell.org/packages/archive/strict-io/0.1/doc/html/Data-IORef-Strict.html
?

G.
-- 
Gregory Collins <greg at gregorycollins.net>


More information about the Haskell-Cafe mailing list