[project @ 1999-05-11 16:33:35 by keithw]
authorkeithw <unknown>
Tue, 11 May 1999 16:33:35 +0000 (16:33 +0000)
committerkeithw <unknown>
Tue, 11 May 1999 16:33:35 +0000 (16:33 +0000)
commitf83ad713ad73e583fd138bb17e7341041b36a416
treef51f9c246700efd4e8cecc0764227b75604ec3b5
parent5c18c653824cc629940a8b73afcd59c78c1e97bb
[project @ 1999-05-11 16:33:35 by keithw]
(this is number 3 of 9 commits to be applied together)

  Following Haskell 98, if the module declaration is omitted it now
  defaults to "module Main(main) where", rather than the previous
  default of exporting everything.

  Furthermore, "module Main where" also defaults to exporting just
  Main.main rather than everything in the module (modules other than
  Main behave as normal).  This permits the usage inference to give
  better results for the Main module, since exported functions get
  worse types than nonexported functions.
ghc/compiler/rename/RnNames.lhs