[Haskell-cafe] Problem with haddock 2.3.0 (again)

Sean Leather leather at cs.uu.nl
Wed Dec 10 09:30:35 EST 2008


[Responding to an old (but still relevant) thread...]

I'm getting this error as well, both in 2.3.0 and 2.4.1.

Suppose that I wanted to generate documentation for everything in my Cabal
package except for the modules with Template Haskell in them. Is it enough
to add {-# OPTIONS_HADDOCK hide #-} to each of these modules? I tried, but
it didn't pan out like I hoped. I'm still getting the same error. Is there
something else I can do?

Thanks,
Sean

On Tue, Oct 28, 2008 at 01:01, David Waern <david.waern at gmail.com> wrote:

> I think this is a bug in Haddock related to template-haskell
> declarations. It will hopefully be fixed soon, but I'm afraid it won't
> part of the 2.3.0 version that will come with GHC 6.10.1.
>
> David
>
> 2008/10/27 Leonidas Fegaras <leofeg at hotmail.com>:
> >
> > Sorry for the previous message. I am sending it again.
> >
> >        Dear fellow haskell programmers,
> >        I tried to install a package in hackageDB and got a strange error
> from
> >        haddock:
> >
> >        haddock: internal Haddock or GHC error: Maybe.fromJust: Nothing
> >
> >        Here is the complete log:
> >
> http://hackage.haskell.org/packages/archive/HXQ/0.10.0/logs/failure/ghc-6.8
> >        When I build it using Cabal 1.6.0.1 and haddock 2.2.2 using
> 'runhaskell
> >        Setup.lhs haddock', it works fine (I get warnings but no errors).
> >        Also haddock 2.3.0 is not available in hackageDB so I can't test
> it
> >        myself. Where I can find haddock 2.3.0?
> >
> >        Thank you for your help,
> >        Leonidas Fegaras
> >
> > _________________________________________________________________
> > Stay organized with simple drag and drop from Windows Live Hotmail.
> >
> http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008_______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081210/a933b55e/attachment.htm


More information about the Haskell-Cafe mailing list