[Haskell-cafe] Problem with haddock 2.3.0 (again)

Sean Leather leather at cs.uu.nl
Fri Dec 12 04:27:39 EST 2008


> > >         Call the original haddockHook with the updated flags rather
> > >         than the
> > >         haddock command.
>
> main = defaultMainWithHooks simpleUserHooks {
>  haddockHook = \pkg lbi h f ->
>     let progs = userSpecifyArgs "haddock" ["--optghc=-D__HADDOCK__"]
>                  (withPrograms lbi)
>     in haddockHook simpleUserHooks pkg lbi { withPrograms = progs } h f
> }


This worked. Thanks, Duncan.

Regards,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081212/78d669a3/attachment.htm


More information about the Haskell-Cafe mailing list