
6 Sep
2009
6 Sep
'09
5:53 p.m.
Isn't freeHaskellFunPtr a required finalization procedure? Maurício
the purpose of ForeignPtr is to attach a finalization procedure to the object behind the pointer. for example, you can have close called aimplicitly whenever the garbage collector finds you don't need a file handle any more. function pointers do not need finalization.
We have ForeignPtr. Why isn't there a corresponding ForeignFunPtr?