
14 Dec
2009
14 Dec
'09
3:39 a.m.
Hello Donn, Monday, December 14, 2009, 4:31:58 AM, you wrote:
I'm just not sure where AppData lives while it's referenced in a FunPtr via partial application, if there might be multiple copies, etc.
GHC RTS creates thunk with this partial call. this thunk references all the data used in computation. The thunk is placed in global objects table and removed from the table when you perform freeHaskellFunPtr -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com