[Responding to an old (but still relevant) thread...]<br><br>I'm getting this error as well, both in 2.3.0 and <a href="http://2.4.1.">2.4.1.</a><br><br>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?<br>
<br>Thanks,<br>Sean<br><br><div class="gmail_quote">On Tue, Oct 28, 2008 at 01:01, David Waern <span dir="ltr"><<a href="mailto:david.waern@gmail.com">david.waern@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think this is a bug in Haddock related to template-haskell<br>
declarations. It will hopefully be fixed soon, but I'm afraid it won't<br>
part of the 2.3.0 version that will come with GHC <a href="http://6.10.1." target="_blank">6.10.1.</a><br>
<br>
David<br>
<br>
2008/10/27 Leonidas Fegaras <<a href="mailto:leofeg@hotmail.com">leofeg@hotmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">><br>
> Sorry for the previous message. I am sending it again.<br>
><br>
> Dear fellow haskell programmers,<br>
> I tried to install a package in hackageDB and got a strange error from<br>
> haddock:<br>
><br>
> haddock: internal Haddock or GHC error: Maybe.fromJust: Nothing<br>
><br>
> Here is the complete log:<br>
> <a href="http://hackage.haskell.org/packages/archive/HXQ/0.10.0/logs/failure/ghc-6.8" target="_blank">http://hackage.haskell.org/packages/archive/HXQ/0.10.0/logs/failure/ghc-6.8</a><br>
> When I build it using Cabal <a href="http://1.6.0.1" target="_blank">1.6.0.1</a> and haddock 2.2.2 using 'runhaskell<br>
> Setup.lhs haddock', it works fine (I get warnings but no errors).<br>
> Also haddock 2.3.0 is not available in hackageDB so I can't test it<br>
> myself. Where I can find haddock 2.3.0?<br>
><br>
> Thank you for your help,<br>
> Leonidas Fegaras<br>
><br>
> _________________________________________________________________<br>
> Stay organized with simple drag and drop from Windows Live Hotmail.<br>
> <a href="http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008_______________________________________________" target="_blank">http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008_______________________________________________</a><br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
><br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br>