patch applied (packages/base): Remove the dangerous Exception
igloo at earth.li
Sun Aug 3 09:51:42 EDT 2008
Sat Aug 2 16:13:58 PDT 2008 Ian Lynagh <igloo at earth.li>
* Remove the dangerous Exception functions
Removed: catchAny, handleAny, ignoreExceptions
These make it easy to eat /any/ exception, which is rarely what you want.
Normally you either want to:
* only catch exceptions in a certain part of the hierarchy, e.g.
"file not found", in which case you should only catch exceptions
of the appropriate type,
* you want to do some cleanup when an exception happens, and then rethrow
the exception, in which case you should use onException, or one of the
M ./Control/Exception.hs -18 +3
View patch online:
More information about the Cvs-libraries