The Haskell 98 report says "A Haskell program is a collection of modules, one of which, by convention, must be called Main and must export the value main." However, the program below builds and executes fine.
module Main() -- should be "module Main" or "module Main(main)" where main = putStrLn "Hello, World" $ runghc Main.hs Hello, World _______________________________________________ Glasgow-haskell-bugs mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
