Exception.catch

Simon Marlow simonmar at microsoft.com
Thu Dec 14 07:43:07 EST 2000


> 
> I'm trying to use the catch function in the Exception library 
> in hslibs.
> But I can't even get my programs to compile. It feels like this is a
> silly mistake on my side but I'll ask anyway. I've boiled it 
> down to the
> following program:

We changed the Exception interface around a bit since 4.08.1.  The
chances are that you're looking at the new documentation but using the
old interface.  Replace catch with catchAllIO and everything should be
fine.

Reuben: it seems the documentation for 4.08.1 on the web site points to
the newer documentation, could you take a look?  Ta.

Cheers,
	Simon




More information about the Glasgow-haskell-bugs mailing list