GHC/base API documentation has been generated incorrectly

Looking at (for example) the docs for 'bracket'[1], the parameter documentation has been "shifted" up by one. The source code[2] looks correct, so perhaps Haddock is parsing it incorrectly? Docs for other functions, such as 'showSigned'[3], exhibit the same error. [1] http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Exception... [2] http://www.haskell.org/ghc/docs/latest/html/libraries/base/src/Control-Excep... [3] http://www.haskell.org/ghc/docs/latest/html/libraries/base/Numeric.html#v%3A...

Hi, I noticed this on another package recently. Turned out it's already been reported as a haddock bug (http://trac.haskell.org/haddock/ticket/128) and fixed. I guess this will be sorted when the fixed version of haddock is used to re-generate the docs. Thanks, Neil. John Millikin wrote:
Looking at (for example) the docs for 'bracket'[1], the parameter documentation has been "shifted" up by one. The source code[2] looks correct, so perhaps Haddock is parsing it incorrectly? Docs for other functions, such as 'showSigned'[3], exhibit the same error.
[1] http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Exception... [2] http://www.haskell.org/ghc/docs/latest/html/libraries/base/src/Control-Excep... [3] http://www.haskell.org/ghc/docs/latest/html/libraries/base/Numeric.html#v%3A... _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

2010/2/3 John Millikin
Looking at (for example) the docs for 'bracket'[1], the parameter documentation has been "shifted" up by one. The source code[2] looks correct, so perhaps Haddock is parsing it incorrectly? Docs for other functions, such as 'showSigned'[3], exhibit the same error.
Hi John, This has already been fixed and the fix will be in the next release. Thanks, David
participants (3)
-
David Waern
-
John Millikin
-
Neil Brown