Division by 0 exits ghci
George Russell
ger at tzi.de
Tue Sep 17 14:28:46 EDT 2002
On Solaris:
# /home/ger/ghc-5.04.1.install/bin/ghci
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 5.04.1, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base ... linking ... done.
Loading package haskell98 ... linking ... done.
Prelude> 1 `div` 0
Arithmetic Exception
#
(no more ghci)
Isn't this a little drastic?
More information about the Glasgow-haskell-bugs
mailing list