2008/9/10 Claus Reinke <[EMAIL PROTECTED]>:
> Wouldn't it be possible to (a) switch haddock to non--make mode
> and (b) just re-run every 'ghc <args>' command arising during 'make'
> as 'haddock <args> <haddock-args>'?

Haddock would need to write data to file for each module for that to
work, similar to GHC's .hi files.

I think it's better if Haddock reads GHC .hi files that store the
comments (if we ever get around to implement that
gathering-of-comments feature in GHC). Then we wouldn't need --make in
Haddock anymore.

The only advantage of having a Haddock equivalent of GHC's .hi files
would be that it makes parallell processing easy (e.g. using the
upcoming Cabal make framework).

David

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to