Fwd: [Haskell-cafe] Hackage Haddock fails where local succeeds

David Waern david.waern at gmail.com
Thu Apr 17 13:37:39 EDT 2008


2008/4/17, John Goerzen <jgoerzen at complete.org>:

> On Thu April 17 2008 7:01:18 am Ross Paterson wrote:
 >  > On Thu, Apr 17, 2008 at 06:45:40AM -0500, John Goerzen wrote:
 >  > > My local haddock, 0.8, parses this file fine.  Is Hackage running and
 >  > > older version?  Could it be upgraded?  Or is there something else going
 >  > > on here?
 >  >
 >  > No, it's running haddock 2.1.0, which understands all the GHC
 >  > extensions, but is more picky about comments.
 >
 >
 > OK.  I have been able to replicate this behavior with Haddock 2.0.0.0, which
 >  is the latest according to www.haskell.org/haddock.  Where did 2.1.0 come
 >  from?
 >
 >  Although I can replicate the behavior, I can't explain it.  My
reading of the
 >  Haddock docs leads me to believe I have done the correct thing.  Is this a
 >  bug in Haddock or am I missing something?

It's a bug. Comments on type synonyms were missed when Haddock support
was added to the GHC parser. This might be fixed in future versions of
GHC.

David


More information about the Haskell-Cafe mailing list