16 Aug
2007
16 Aug
'07
6:58 a.m.
On Wed, Aug 15, 2007 at 11:45:43PM -0700, Ashley Yakeley wrote:
Isaac Dupree wrote:
haddock.ghc and ghc.haddock are different. Haddock.ghc needs a GHC with the patches from ghc.haddock. The latest GHC 6.7 has ghc.haddock patches. Haddock.ghc is the new haddock, which requires those GHC capabilities. So you need GHC 6.7 *and* haddock.ghc. Does that clear up the rather confusing naming scheme?
So presumably ghc.haddock provides some new API that haddock.ghc uses to get parse information?
Yup, modern GHC can parse Haddock comments and return them in the API. Disgustingly non-compositional, but it gets the job done, and is much better than just copying code... Stefan