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

Alistair Bayley alistair at abayley.org
Thu Jan 29 08:53:25 EST 2009


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
Database.Enumerator.lhs is certainly Database.Enumerator, and not
Main.

Or am I looking in the wrong place?

Alistair


More information about the Haskell-Cafe mailing list