Generalise the type of onException
authorIan Lynagh <igloo@earth.li>
Sun, 3 Aug 2008 00:30:01 +0000 (00:30 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 3 Aug 2008 00:30:01 +0000 (00:30 +0000)
commitf3b6c6b77f1667164913725dcfe12f64b9e99f74
treeac2a1cee33f182169b3c0defe35ea1ec7aafb2a3
parent271884f9b31cb0104a81a395e1cca75669fe4348
Generalise the type of onException
The type of the thing to do on an exception is now
    IO b
rather than
    IO ()
which better matches functions like bracket.
Control/Exception.hs