Re: ANNOUNCE: Haddock version 0.6

Juanma Barranquero <[email protected]> Wed, 12 Nov 2003 00:21:49 +0100
Newsgroups gmane.comp.lang.haskell.haskelldoc,gmane.comp.lang.haskell.general
Message-ID <[email protected]>
On Tue, 11 Nov 2003 11:01:00 -0000, "Simon Marlow" <[email protected]> wrote:

> There is a new release of Haddock, version 0.6.

Are interface files binary-incompatible with those of previous releases?

With a Cygwin-compiled 0.6, I get an error:

  Fail: end of file
  Action: Data.Binary.getWord8

while trying to --read-interface a GHC 6.01 .haddock file (for example,
ghc/doc/html/haskell98/haskell98.haddock). OTOH,

 haddock --html --dump-interface=doc\M1.haddock M1.hs

 haddock --html --read-interface=doc\,doc\M1.haddock M2.hs

seems to work.

And BTW, why it is necessary to write --read-interface=path,full-filename,
i.e., why

  --read-interface=c:\ghc\doc\html\haskell98,c:\ghc\doc\html\haskell98.haddock

instead of

  --read-interface=c:\ghc\doc\html\haskell98,haskell98.haddock

?

Thanks,

                                                           /L/e/k/t/u