Haddock version during build

Neil Mitchell ndmitchell at gmail.com
Sat Jun 14 05:23:43 EDT 2008


Hi David,

> To further clarify this: no, you don't need to depend on the derive
>  package. But you'd want to regenerate the instances each build (or
>  atleast when the relevant types are modified).

Ah, true.


> Hmm, I guess it depends on what you want to do. Take the example of
>  replacing the renamer in Haddock with a monadic map over all the names
>  in the AST (the AST is parameterized by the type of names). In this
>  case Traversable is much more simple than SYB. In fact, I couldn't
>  even figure out how to do it with SYB when I tried. With uniplate I
>  don't know how it would look, if it is possible.

Can you point me at exactly where the Haddock renamer is, and I'll see
what I can come up with :-)

Thanks

Neil


More information about the Cvs-libraries mailing list