[Haskell-beginners] cabal haddock problem

Ashish Agarwal agarwal1975 at gmail.com
Wed Apr 21 18:30:14 EDT 2010


I've setup a cabal file for a project. Building works fine but cabal haddock
gives the following error:

src/AFRP/AFRP.hs:1:0:
    File name does not match module name:
    Saw: `Main'
    Expected: `AFRP.AFRP'

However, the module name specified in AFRP.hs is in fact AFRP.AFRP so why is
haddock seeing Main, especially since cabal build completes successfully?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20100421/d6760062/attachment.html


More information about the Beginners mailing list