On Wed, Oct 8, 2008 at 9:58 AM, Philip K.F. Hölzenspies
<[EMAIL PROTECTED]> wrote:
>
> some_catch_function (error "foo") (error "bar")
>
> should result in an error "bar"
>

It's a good thing we've already got a function for that!

> Prelude.catch (error "foo") (error "bar")
*** Exception: foo

> Control.Exception.catch (error "foo") (error "bar")
*** Exception: bar

-Antoine
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to