[ghci] Comparison with Hugs

Volker Stolz stolz@I2.Informatik.RWTH-Aachen.DE
Tue, 24 Apr 2001 16:19:21 +0200


In Hugs I can throw some definitions into a file and load it
on the shell command line or using ":l" in Hugs.

ghci however will complain that "main" is missing and even won't keep
the defined functions in scope. Is there anything I can do about that?
It even doesn't invoke main if it's present.

I could hack ghci do add "main = print 1" in case main is undefined,
but that's not really something I'd like to admit afterwards...
-- 
Abstrakte Syntaxträume.
Volker Stolz * stolz@i2.informatik.rwth-aachen.de * PGP + S/MIME