title: Make GHC accept Main module with a main function that isn't IO ()
body: <p>Is there some way (flag or hack) to make GHC accept a main module where the main function's signature isn't <code>IO ()</code>? For <a href="http://hackage.haskell.org/package/fay" rel="noreferrer">Fay</a> the main functions have the type <code>Fay ()</code>, but GHC does not accept this if the module is Main (or the module name is left out).</p>