
14 Apr
2003
14 Apr
'03
10:57 a.m.
(A better mailing list for GHC questions is Glasgow-haskell-users@haskell.org)
I guess you can say ghci Main.hs < run_main >& /dev/null
where run_main contains main
A slight refinement: echo main | ghc -v0 Main.hs the -v0 avoids all extraneous output including the banner and the "Skipping Main..." message. Cheers, Simon