> In GHC, when we allowed finalizers to be attached to any object
> rather than being restricted to ForeignPtr (then ForeignObj), we
> thought we might be able to do away with ForeignPtr altogether, and
> just attach finalizers to Ptr (then Addr).

This may be one of the best arguments advanced so far for Haskell
finalizers.  (It doesn't make it any easier to implement them but it
at least gives us some motivation to want to do so.)

--
Alastair
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to