Safe Haskell | None |
---|---|
Language | Haskell98 |
- readInstalledDocs :: [String] -> ExceptT String IO (Map String ModuleDocMap)
- readHaddock :: FilePath -> ExceptT String IO (Map String ModuleDocMap)
- readSources :: [String] -> [FilePath] -> ExceptT String IO (Map String ModuleDocMap)
- readSources_ :: [String] -> [FilePath] -> ExceptT String IO [(String, ModuleDocMap)]
- readSource :: [String] -> FilePath -> ExceptT String IO (String, ModuleDocMap)
- readSourcesGhc :: [String] -> [FilePath] -> ExceptT String Ghc [(String, ModuleDocMap)]
- readSourceGhc :: [String] -> FilePath -> ExceptT String Ghc (String, ModuleDocMap)
- installedInterfaceDocs :: InstalledInterface -> (String, ModuleDocMap)
- installedInterfacesDocs :: [InstalledInterface] -> Map String ModuleDocMap
- interfaceDocs :: Interface -> (String, ModuleDocMap)
- haddockFiles :: [String] -> ExceptT String IO [FilePath]
- readInstalledInterfaces :: FilePath -> ExceptT String IO [InstalledInterface]
- readPackageInterfaces :: PackageConfig -> ExceptT String IO [InstalledInterface]
- lookupDoc :: String -> String -> Map String ModuleDocMap -> Maybe (Doc String)
- lookupNameDoc :: Name -> Map String ModuleDocMap -> Maybe (Doc String)
- module HDocs.Base
- data Ghc a :: * -> *
- module Control.Monad.Except
- withGhc :: [Flag] -> Ghc a -> IO a
Documentation functions
readInstalledDocs :: [String] -> ExceptT String IO (Map String ModuleDocMap) Source
Read all installed docs
readHaddock :: FilePath -> ExceptT String IO (Map String ModuleDocMap) Source
Read docs from .haddock file
readSources :: [String] -> [FilePath] -> ExceptT String IO (Map String ModuleDocMap) Source
Read docs for haskell modules
readSources_ :: [String] -> [FilePath] -> ExceptT String IO [(String, ModuleDocMap)] Source
Read docs for haskell modules
readSource :: [String] -> FilePath -> ExceptT String IO (String, ModuleDocMap) Source
Read docs for haskell module
readSourcesGhc :: [String] -> [FilePath] -> ExceptT String Ghc [(String, ModuleDocMap)] Source
Read docs for source in Ghc monad
readSourceGhc :: [String] -> FilePath -> ExceptT String Ghc (String, ModuleDocMap) Source
Read docs for haskell module
Extract docs
installedInterfaceDocs :: InstalledInterface -> (String, ModuleDocMap) Source
Get docs for InstalledInterface
installedInterfacesDocs :: [InstalledInterface] -> Map String ModuleDocMap Source
Get docs for InstalledInterface
s
interfaceDocs :: Interface -> (String, ModuleDocMap) Source
Get docs for Interface
Utility functions
haddockFiles :: [String] -> ExceptT String IO [FilePath] Source
Get list of haddock files in package db
readInstalledInterfaces :: FilePath -> ExceptT String IO [InstalledInterface] Source
Read installed interface
readPackageInterfaces :: PackageConfig -> ExceptT String IO [InstalledInterface] Source
Read installed interfaces for package
lookupNameDoc :: Name -> Map String ModuleDocMap -> Maybe (Doc String) Source
Lookup doc for Name
module HDocs.Base
data Ghc a :: * -> *
module Control.Monad.Except