Re: [Haskell-cafe] haddock-2.3.0 error: file name does not match module name

2009-01-30 Thread Alistair Bayley
This has been reported before: http://trac.haskell.org/haddock/ticket/73#comment:4 Not sure what's going on yet. If anyone's got a minimal test-case, that'd be great. This is what fails for me (in Test/Fail.hs): {- # LANGUAGE CPP #-} module Test.Fail I've added this to the trac ticket.

[Haskell-cafe] haddock-2.3.0 error: file name does not match module name

2009-01-29 Thread Alistair Bayley
I'm getting an error when I run setup haddock-2.3.0 on the Takusen src: haddock.exe: File name does not match module name: Saw: `Main' Expected: `Database.Enumerator' I assume that it's procesing file Database.Enumerator.lhs when it emits this, but I'm puzzled because the module name in

Re: [Haskell-cafe] haddock-2.3.0 error: file name does not match module name

2009-01-29 Thread Matthijs Kooijman
I assume that it's procesing file Database.Enumerator.lhs when it emits this, but I'm puzzled because the module name in Database.Enumerator.lhs is certainly Database.Enumerator, and not Main. Any chance the module statement in the file is wrong? I think I remember seeing this error once when

Re: [Haskell-cafe] haddock-2.3.0 error: file name does not match module name

2009-01-29 Thread Alistair Bayley
2009/1/29 Matthijs Kooijman matth...@stdin.nl: I assume that it's procesing file Database.Enumerator.lhs when it emits this, but I'm puzzled because the module name in Database.Enumerator.lhs is certainly Database.Enumerator, and not Main. Any chance the module statement in the file is wrong?

Re: [Haskell-cafe] haddock-2.3.0 error: file name does not match module name

2009-01-29 Thread David Waern
2009/1/29 Alistair Bayley alist...@abayley.org: 2009/1/29 Matthijs Kooijman matth...@stdin.nl: I assume that it's procesing file Database.Enumerator.lhs when it emits this, but I'm puzzled because the module name in Database.Enumerator.lhs is certainly Database.Enumerator, and not Main. Any