[Haskell] Re: [Haskell-cafe] ANN: Haddock version 2.1.0

David Waern david.waern at gmail.com
Fri May 2 09:48:05 EDT 2008

2008/5/2 Simon Marlow <marlowsd at gmail.com>:
> David Waern wrote:
> > No it doesn't, but it's on the TODO list. It needs a fix in GHC.
> >
> > By the way, I'm going to experiment with doing the parsing of comments
> > on the Haddock side instead of in GHC.
> > If that works out, we won't have to fix these things in GHC anymore.
> >
>  Sounds great - along the lines that we discussed on cvs-ghc a while back?

Yes, something along the lines of separately parsing the comments and
recording their source locations, and then
trying to match them with the source locations of the AST nodes. I
don't think there are any lexical rules for where
Haddock comments can exist, so it should work.


More information about the Haskell-Cafe mailing list