Re: [Haskell-cafe] less than helpful GHC error message

2007-01-07 Thread Ian Lynagh
On Wed, Dec 13, 2006 at 04:02:18PM -0600, Nicolas Frisby wrote: > > $ ghc --make Main > > : file name does not match module name `Main' Thanks for the report; the HEAD and 6.6 branch now say: Test.hs:1:0: file name does not match module name `Main' so this will be fixed in 6.6.1. Thanks Ian

[Haskell-cafe] less than helpful GHC error message

2006-12-13 Thread Nicolas Frisby
Consider the terminal session at the bottom of this message. The extra "xc" in Test.hs was the result of me missing CTRL during an Emacs command (I'm guessing...). Unfortunately this took 30 minutes to find since I had far more than two modules and the error message doesn't point this out. Sure i