
5 Jan
2011
5 Jan
'11
12:07 a.m.
On 01/04/11 13:20, Ian Lynagh wrote:
GHC actually can't currently deprecate one export of 'catch' but not the other. Because of this, and because of the possible confusion etc with having 2 'catch' functions, I suggest we add catchIO and tryIO to System.IO.Error too. This will also give the new report a catch function it can refer to without having to worry about existential quantification etc.
Noooooooooooooooooo! Then "throwIO" will throw an exception and "catchIO" won't catch it. I will feel horribly confused; or at least some people probably will. Thoughts? -Isaac