[Haskell-cafe] ANNOUNCE: Haddock 2.10.0

David Waern david.waern at gmail.com
Sat Mar 3 21:12:26 CET 2012


2012/3/3 Sergei Trofimovich <slyich at gmail.com>:

> It seems to fail to generate buildwrapper documentation.
> The minimal example:
>
> -- Base.hs:
> module Base where
>
> -- | component in cabal file
> data CabalComponent
>  = CCLibrary  -- ^ library
>        { cc_buildable :: Bool -- ^ is the library buildable
>        }

You can't stick a doc comment between a constructor and its arguments.
Try putting the comment after the record closing bracket instead (or
tell the author of the code).

David



More information about the Haskell-Cafe mailing list