Main.main naming convention

Simon Peyton-Jones simonpj@microsoft.com
Tue, 10 Sep 2002 11:37:35 +0100


| Another such restriction is the fact that any module which
| is called Main *must* have a function which is called main
| in it. In combination with the rule that says that any
| module which is not explicitly named is called Main, this
| gets very annoying when using an interactive Haskell system
| such as ghci. (I don't think that Hugs does insists on
| this.)

Ghci doesn't either, now.

Simon