not naming modules Main

Mark Carroll mark@chaos.x-philes.com
Fri, 16 Nov 2001 14:51:55 -0500 (EST)


On Fri, 16 Nov 2001, Iavor S. Diatchki wrote:
(snip)
> having said all that, there seems to be a bug in ghc (or perhaps
> an implementation restriction), which requires that "main" is defined
> in the module "Main".  the only other haskell implementation i have
(snip)

Actually, what would be nice in ghci is to be able to :load modules that
don't have "main" defined. Followups should probably go to one of the GHC
lists though, I guess.

-- Mark