[Haskell] Haddock Problem

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sat May 14 07:39:56 EDT 2005

On Sat, 2005-05-14 at 13:05 +0100, Dominic Steinitz wrote:
> Can someone point out what I am doing wrong?
> Thanks, Dominic.
> [dom at tility Codec]$ haddock Codec/Utils.hs 
> --read-interface=http://www.haskell.org/ghc/docs/latest/html/base,/usr/share/doc/ghc-6.4/libraries/base/base.haddock
> Warning: Codec.Utils: the following names could not be resolved:
>     Integral Word8 Int

I don't believe that Haddock will download from a URL.

Try downlading the base.haddock file first:
$ haddock Codec/Utils.hs --read-interface=base.haddock

In this case it would be better if Haddock gave you an error about there
being no such (local) file as "http://www.haskell.org/g...", rather than
ignoring it. I'd call this a user interface bug.


More information about the Libraries mailing list