[Haskell-cafe] Haddock Help Required

David Waern david.waern at gmail.com
Mon Mar 24 16:18:35 EDT 2008


2008/3/24, Dominic Steinitz <dominic.steinitz at blueyonder.co.uk>:
> What should I be using for the file name for the read-interface option
>  in haddock?

You must use a file that is on your own hard drive and that is
generated with version 2.0 of Haddock, since that is what you're
using. The interface file format was changed in Haddock 2.0 due its
use of GHC data types, so you can't use 0.x interface files.

You need to generate base.haddock with Haddock 2.0. One way to do
that, is to make sure Haddock 2.0 is installed, then get the GHC 6.8.2
sources (with core libs) and build that with Haddock docs enabled.

Hope this helps,
David


More information about the Haskell-Cafe mailing list