haddockSource codeContentsIndex
Haddock.GHC
Synopsis
startGhc :: String -> [String] -> IO (Session, DynFlags)
loadPackages :: Session -> [String] -> IO [InstalledPackageInfo]
module Haddock.GHC.Typecheck
module Haddock.GHC.Utils
Documentation
startGhc :: String -> [String] -> IO (Session, DynFlags)Source
Start a GHC session with the -haddock flag set. Also turn off compilation and linking.
loadPackages :: Session -> [String] -> IO [InstalledPackageInfo]Source
Expose the list of packages to GHC. Then initialize GHC's package state and get the name of the actually loaded packages matching the supplied list of packages. The matching packages might be newer versions of the supplied ones. For each matching package, return its InstalledPackageInfo.
module Haddock.GHC.Typecheck
module Haddock.GHC.Utils
Produced by Haddock version 2.1.0