Hugs Version: May 1999
Configuration options: none (defaults)
Operating System: Windows NT 4.0 SP 3
Compiler: N/A; using the precompiled executable hugs.exe from
http://www.cse.ogi.edu/~mpj/Hugs98/win32exes.zip

Expected the Hugs interpreter to catch any run-time error, provide a
message, and return to the interpreter prompt.

Observed behavior: Crash terminates Hugs.

Source file, hugsbug.hs, 2 lines:
f :: () -> ((), ())
f d = let (d', _) = (d, ()) in f d'

Session transcript, up to the point of crash:

E:\Scott\My Programs>"\program files\hugsMay\hugs"
__   __ __  __  ____   ___     _________________________________________
||   || ||  || ||  || ||__     Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__||  __||    Copyright (c) 1994-1999
||---||         ___||          World Wide Web: http://haskell.org/hugs
||   ||                        Report bugs to: [EMAIL PROTECTED]
||   || Version: May 1999      _________________________________________

Haskell 98 mode: Restart with command line option -98 to enable extensions

Reading file "E:\program files\hugsMay\lib\Prelude.hs":

Hugs session for:
E:\program files\hugsMay\lib\Prelude.hs
Type :? for help
Prelude> :l hugsbug
Reading file "hugsbug.hs":

Hugs session for:
E:\program files\hugsMay\lib\Prelude.hs
hugsbug.hs
Main> f ()

--
Scott Turner
[EMAIL PROTECTED]       http://www.ma.ultranet.com/~pkturner

Reply via email to