
19 Mar
2008
19 Mar
'08
4:47 p.m.
L.S., When playing with exceptions, I noticed the following strangeness: *Main> 1 / 0 Infinity *Main> 1 `div` 0 *** Exception: divide by zero This is in GHCi 6.8.2; WinHugs Sep 2006 gives: Main> 1 / 0 1.#INF Main> 1 `div` 0 Program error: divide by zero Is this difference between fractional and integral calculation intentional? It makes error handling more difficult. -- Met vriendelijke groet, Henk-Jan van Tuyl -- http://functor.bamikanarie.com http://Van.Tuyl.eu/ --