Alastair Reid <[EMAIL PROTECTED]> writes: > > (iii) ... It seems bizarre to write finalizers in a different language! > > But we're already dealing with that different language! That's what > the FFI is for. ... Writing finalizers for Addr/Ptr/ForeignPtr in C is the > normal thing you want to do.
I do agree that there is a clear logic to writing the finaliser for a foreign data structure in that foreign language. > It's all that Hugs has ever supported and I have never found it > constraining. It is all nhc98 supported until recently, and I also never found it a problem. But now that I've had a play with finalisers in Haskell, it just seems so useful! Regards, Malcolm _______________________________________________ FFI mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/ffi