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 * [EMAIL PROTECTED] * PGP + S/MIME

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to