[Haskell-cafe] Re: A GHC error message puzzle
Simon Marlow
marlowsd at gmail.com
Sat Aug 14 16:19:58 EDT 2010
On 13/08/10 17:00, Tillmann Rendel wrote:
> Simon Marlow wrote:
>> Really hClose shouldn't complain about a finalized handle, I'll see if
>> I can fix that.
>
> That sounds like a work-around to me, not a fix, because it would not
> fix more complicated exception handlers.
I don't think there's a problem with more complicated exception
handlers. The fix is to make the finalized Handle look like a closed
Handle; it's a fix to the finalizer, not the exception handler, so it's
not a workaround for this one particular symptom.
Cheers,
Simon
More information about the Haskell-Cafe
mailing list