[Haskell] haddock -cpp ? Cabal support for haddock ?
ijones at syntaxpolice.org
Fri Apr 22 03:12:26 EDT 2005
Johannes Waldmann <waldmann at imn.htwk-leipzig.de> writes:
> What is the preferred way to generate haddockumentation
> from code that must be preprocessed (ghc -cpp)?
> Would Cabal support this?
Cabal does support this. If you use the CPP extension, it'll
preprocess the code before running haddock on it.
> 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.
Cabal doesn't support these yet, though. Maybe in the future.
More information about the Haskell