main modules in GHC

Simon Peyton-Jones simonpj@microsoft.com
Mon, 23 Jun 2003 13:54:23 +0100


| >I've implemented a -main-is flag for GHC, so you can nominate either
the
| >module containing the main function, or the main function name, or
both.
|=20
| I take it that's not yet a released compiler version?  (I'm currently
using
| 5.4.03, and expect to upgrade at some time after the generics support
is
| felt to be reasonably stable and also supported by Hugs.)

Correct.  It'll be in 6.2. Till then, you can use a development snapshot
(once a nightly build on the HEAD goes through)

S