haddock v2.0.0.0 Release Notes

    • The GHC API is used as the front-end

    • Haddock now understands all syntax understood by GHC 6.8.2

    • Haddock can generate documentation for some of the language extensions in GHC 6.8.2

    • Format of module attributes has changed. The only way of specifying module attributes is via a new OPTIONS_HADDOCK pragma. Example: {-# OPTIONS_HADDOCK hide, prune #-}

    • Haddock understands literate source files

    • Add a small library to read Haddock's interface files

    • Add a flag -B for passing the path to the GHC lib dir

    • Add a flag --optghc for passing options to GHC

    • Add a flag --ghc-version for printing the GHC version

    • Remove --use-package, --allow-missing-html, --ghc-pkg, in favour of only supporting --read-interface

    • Remove --package flag, the GHC flag -package-name can be used instead

    • Remove --no-implicit-prelude flag, the GHC flag -XNoImplicitPrelude can be used instead