Proposal: Extensible exceptions
Bulat Ziganshin
bulat.ziganshin at gmail.com
Fri Jul 4 13:17:47 EDT 2008
Hello Ian,
Friday, July 4, 2008, 5:29:24 PM, you wrote:
> This is a proposal to replace the current exception mechanism in the
> base library with extensible exceptions.
extensible exceptions, records and syntax are my favorite
missing-in-haskell-garden pets, so my +1000
syntax to defining new exceptions is a bit too fat, but it's probably
impossible to use something more direct and consistent like it's done in
OOP languages?
also, are your examples cover all the possible scenarios of using
exceptions? you may consider it as tutorial on "New Exceptions" :)
is it planned to be included in 6.10? how it will work with legacy
code, in particular libraries developed with old base in mind? how
mixed code (throwing/catching exceptions in old and new styles) will
work together?
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Libraries
mailing list