haskell-docs-3.0.3: A program to find and display the docs of a name from a given module.

Safe HaskellNone

Documentation.Haddock.Docs

Description

Lookup the documentation of a name in a module (and in a specific package in the case of ambiguity).

Synopsis

Documentation

withInitializedPackages :: [String] -> (DynFlags -> Ghc a) -> IO aSource

Run an action with an initialized GHC package set.

printDocumentation :: DynFlags -> String -> ModuleName -> Maybe String -> Maybe PackageConfig -> Ghc BoolSource

Print the documentation of a name in the given module.

getType :: DynFlags -> ModuleName -> String -> Ghc StringSource

Get the type of the given identifier from the given module.