[Yhc] Yhc and Haddock

Neil Mitchell ndmitchell at gmail.com
Tue Dec 4 07:00:38 EST 2007


Hi

> As part of my Javascript backend development process I am preparing
> Haddock documentation for the backend-related API. I however would
> like to include as much as possible of Yhc own API (the yhc-base
> package) into that documentation to have most things hyperlinked.
>
> http://www.golubovsky.org/repos/YhcDocs/
>
> However Haddock's parser does not tolerate some things that can be
> found in Yhc Haskell runtime. So I had to insert cpp directives
> #ifndef __HADDOCK__ to exclude pieces of code that Haddock does not
> like.

That seems perfectly sensible.

Thanks

Neil


More information about the Yhc mailing list