[Haskell] haddock -cpp ? Cabal support for haddock ?
Simon Marlow
simonmar at microsoft.com
Fri Apr 22 10:26:40 EDT 2005
On 21 April 2005 18:21, Johannes Waldmann wrote:
> What is the preferred way to generate haddockumentation
> from code that must be preprocessed (ghc -cpp)?
Either use ghc -E -cpp, or Cabal to preprocess the files.
> Would Cabal support this? I'd certainly welcome Cabal support
> for other haddock features as well (--source, --read-interface).
> I am not sure where to put all these arguments in the .cabal file.
>
> And ... could we have something in haddock like JavaDoc's "@since"
> tag?
That's a reasonable suggestion... I doubt I'll have time to implement it
soon, but patches are always welcome.
Cheers,
Simon
More information about the Haskell
mailing list