2 % (c) The AQUA Project, Glasgow University, 1994-1997
5 \section[PrelMain]{Module @PrelMain@}
8 module PrelMain( mainIO ) where
11 import {-# SOURCE #-} qualified Main -- for type of "Main.main"
14 import PrelHandle ( topHandler )
19 mainIO :: IO () -- It must be of type (IO t) because that's what
20 -- the RTS expects. GHC doesn't check this, so
21 -- make sure this type signature stays!
22 mainIO = catchException Main.main (topHandler True)