Haddock 2.x and --hoogle

Neil Mitchell ndmitchell at gmail.com
Fri Jun 13 13:56:06 EDT 2008


Hi Duncan,

In the Cabal-1.4 branch, Distribution.Simple.Haddock, line 143:

    when (hoogle && isVersion2) $
      die $ "haddock 2.x does not support the --hoogle flag."

As of earlier today, that is no longer true. We have several options:

* Remove the warning all together - it always supported the --hoogle
flag, it just never did anything. It should probably have been haddock
issuing this warning all along, not cabal.

* Make it check for haddock >= 2 && < 2.2

Thoughts?

Neil



More information about the cabal-devel mailing list