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

Matthijs Kooijman matthijs at stdin.nl
Thu Jan 29 09:21:22 EST 2009


> 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 I accidentally typed Module instead of module.
Apparently ghc assumes "Main" when there is no valid module statement.

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090129/7b3cd891/attachment.bin


More information about the Haskell-Cafe mailing list