30 Jan
2013
30 Jan
'13
7:26 a.m.
Hi, The pattern is essentially the same as in imperative languages; every allocation should involve a finally clause that deallocates the resource. On Tue, Jan 29, 2013 at 2:59 PM, Thiago Negri <evohunz@gmail.com> wrote:
Should I put `Control.Exception.finally` on every single line of my finalizers?
I'm not sure what you're asking here. If your finally clause tries to call close, you don't have to catch exceptions raise by close (what would you do with them anyway).