Safe Haskell | None |
---|
Lookup the documentation of a name in a module (and in a specific package in the case of ambiguity).
- withInitializedPackages :: [String] -> (DynFlags -> Ghc a) -> IO a
- printDocumentation :: DynFlags -> String -> ModuleName -> Maybe String -> Maybe PackageConfig -> Ghc Bool
- mkModuleName :: String -> ModuleName
- getType :: DynFlags -> ModuleName -> String -> Ghc String
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.
mkModuleName :: String -> ModuleName