1 % ------------------------------------------------------------------------------
2 % $Id: Main.lhs,v 1.1 2001/06/28 14:15:03 simonmar Exp $
4 % (c) The University of Glasgow, 1994-2000
7 \section[GHC.Main]{Module @GHC.Main@}
10 module GHC.Main( mainIO ) where
12 import {-# SOURCE #-} qualified Main -- for type of "Main.main"
20 mainIO :: IO () -- It must be of type (IO t) because that's what
21 -- the RTS expects. GHC doesn't check this, so
22 -- make sure this type signature stays!
23 mainIO = catchException Main.main topHandler