Help me grok addFinalizer

Michael Craig mkscrg at gmail.com
Thu Feb 16 21:04:31 CET 2012


When I read the docs for System.Mem.Weak, it all seems to make sense. But
then this code doesn't run as I expect it to when I turn on -threaded:
http://hpaste.org/63832 (Expected/actual output are listed in the paste.)

I've tried this on 7.4.1 and 7.0.4 with the same results. Can someone
enlighten me?

Cheers,
Mike Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20120216/188b2848/attachment.htm>


More information about the Glasgow-haskell-users mailing list