
2 Nov
2009
2 Nov
'09
1:10 p.m.
Is the IORef or the value in the IORef your key? I want the IORef itself to be the key. However, that doesn't work with optimisations turned on (the pointers get wiped out at the first gc), I guess because they remove the box around the MutVar#. Extracting that MutVar# seems to solve the problem.
Gergely -- http://www.fastmail.fm - mmm... Fastmail...