This program simply SIGSEGVs right at the beginning. Is it supposed to
give some more informative error message? I've heard that ghc-compiled
programs should never crash as long as one doesn't use hacks like
ccall or such :-)
import System
main = do
print f
exitWith ExitSuccess
f :: String
f = f
Today I made a mistake and used the same name for a function parameter
and for one variable in its `where' clause. This constructed a loop
similar to the above and caused mysterious crashes. If ghc emitted
warnings for unused variables, such programmer bug would be easier
to spot.
--
__("< Marcin Kowalczyk * [EMAIL PROTECTED] http://kki.net.pl/qrczak/
\__/ GCS/M d- s+:-- a22 C+++>+++$ UL++>++++$ P+++ L++>++++$ E-
^^ W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP->+ t
QRCZAK 5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-