Extensible Exceptions and IO

Alexander Dunlap alexander.dunlap at gmail.com
Sat Apr 25 14:24:59 EDT 2009


On Sat, Apr 25, 2009 at 11:18 AM, Alexander Dunlap
<alexander.dunlap at gmail.com> wrote:
> In the extensible exceptions paper[1], which I believe is the guide
> behind the current Control.Exception in GHC 6.10, a SomeIOException
> type is discussed so that it would be possible to use the nice
> interface for IOExceptions. Is this implemented anywhere? In the GHC
> libraries, all I see is the old interface just plugged into a simple
> wrapper, so you have to use guard . isDoesNotExistError (for example)
> with catchJust to catch a certain type of exception. If not, are there
> any plans to implement it?
>
> Alex
>

Sorry...forgot to send the link.

[1]http://www.haskell.org/~simonmar/papers/ext-exceptions.pdf

Alex


More information about the Glasgow-haskell-users mailing list