-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Haskell docs tool
--
@package hdocs
@version 0.4.0.0
module HDocs.Base
-- | Documentation in module
type ModuleDocMap = Map String (Doc String)
-- | Run action with initialized packages
withInitializedPackages :: [String] -> (DynFlags -> IO a) -> IO a
-- | Config GHC session
configSession :: [String] -> IO DynFlags
-- | Format documentation to plain text.
formatDoc :: Doc String -> String
-- | Format docs to plain text
formatDocs :: ModuleDocMap -> Map String String
module HDocs.Haddock
-- | Read all installed docs
readInstalledDocs :: [String] -> ErrorT String IO (Map String ModuleDocMap)
-- | Read docs from .haddock file
readHaddock :: FilePath -> ErrorT String IO (Map String ModuleDocMap)
-- | Read docs for haskell module
readSource :: [String] -> FilePath -> ErrorT String IO (String, ModuleDocMap)
-- | Get docs for InstalledInterface
installedInterfaceDocs :: InstalledInterface -> (String, ModuleDocMap)
-- | Get docs for InstalledInterfaces
installedInterfacesDocs :: [InstalledInterface] -> Map String ModuleDocMap
-- | Get docs for Interface
interfaceDocs :: Interface -> (String, ModuleDocMap)
-- | Get list of haddock files in package db
haddockFiles :: [String] -> ErrorT String IO [FilePath]
-- | Read installed interface
readInstalledInterfaces :: FilePath -> ErrorT String IO [InstalledInterface]
-- | Read installed interfaces for package
readPackageInterfaces :: PackageConfig -> ErrorT String IO [InstalledInterface]
-- | Lookup doc
lookupDoc :: String -> String -> Map String ModuleDocMap -> Maybe (Doc String)
-- | Lookup doc for Name
lookupNameDoc :: Name -> Map String ModuleDocMap -> Maybe (Doc String)
module HDocs.Module
-- | Load docs for all exported module symbols
moduleDocs :: [String] -> String -> ErrorT String IO ModuleDocMap
-- | Load docs for all installed modules
installedDocs :: [String] -> ErrorT String IO (Map String ModuleDocMap)
-- | Get docs for InstalledInterface with its exports docs
exportsDocs :: Map String ModuleDocMap -> InstalledInterface -> (String, ModuleDocMap)