> George Russell <[EMAIL PROTECTED]> wrote,
>
> > In fact the problem is more drastic than I mentioned in my
> last message; division by 0
> > doesn't seem to be catchable at all. From this program
> > ----------- cut here -----------------------
> > import Exception
> >
> > main =
> > do
> > excep <- Exception.try (seq (1 `div` 0) (return ()))
> > putStrLn "Survived"
> > ----------- cut here ----------------------
> > I get the output "Arithmetic Exception" on Solaris and
> "Floating point exception" on Linux,
> > while I think I ought to get "Survived".
>
> AFAIK, this is a known bug. Maybe you should enter it into
> the bug tracker, so that it remains known ;-)
Thanks for the reminder... i've now fixed division by zero to raise the
proper exception.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs