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