<div>I compiled and installed haddock-2.4.2 from the tarball source.</div><div><br></div><div>Adding a few simple comments to the code here:</div><div><br></div><div>  <a href="https://dl.getdropbox.com/u/143480/doc/DualMap.hs">https://dl.getdropbox.com/u/143480/doc/DualMap.hs</a></div>
<div><br></div><div>and running haddock</div><div><br></div><div><div>$ haddock -h -o doc Data/DualMap.hs</div><div>Warning: Data.DualMap: could not find link destinations for:</div><div>    Data.Typeable.Typeable2 GHC.Base.Eq GHC.Show.Show GHC.Base.Ord GHC.Base.Bool Data.Set.Set</div>
<div><br></div><div>yields:</div><div><br></div></div><div>  <a href="https://dl.getdropbox.com/u/143480/doc/Data-DualMap.html">https://dl.getdropbox.com/u/143480/doc/Data-DualMap.html</a><br></div><div><br></div><div>Things look good. (Note that this module only depends on libs that ship with GHC and no other source modules.)</div>
<div><br></div><div>However, when I try to add sections (a la <a href="http://www.haskell.org/haddock/doc/html/ch03s04.html#id289234">http://www.haskell.org/haddock/doc/html/ch03s04.html#id289234</a> ) in the comments with &quot;-- * test&quot; I get:</div>
<div><br></div><div>$ haddock -h -o doc Data/DualMap.hs<br></div><div>Data/DualMap.hs:20:0: parse error on input `-- * test&#39;</div><div>haddock: Failed to create dependency graph</div><div><br></div><div>I have no idea where to begin getting this to work since this error message only tells me that Haddock.Interface.depanal returned Nothing (according to a grep of the haddock sources) but not how to stop the dependency analysis from failing. Perhaps I need some more command line arguments or references to missing link destinations in GHC/base/containers documentation or some haddock config file?</div>
<div><br></div><div>Searching Google yielded plenty of cabal build errors of the same ilk for packages on hackage but nothing about how to fix them.<br></div><div><br></div><div>  Jared.</div><div><br></div>