Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.Haskell.GhcMod.Gap
Documentation
type GmLogAction = LogAction
setLogAction :: DynFlags -> GmLogAction -> DynFlags
getSrcFile :: SrcSpan -> Maybe String
withInteractiveContext :: GhcMonad m => m a -> m a
toStringBuffer :: GhcMonad m => [String] -> m StringBuffer
setCabalPkg :: DynFlags -> DynFlags
setDumpSplices :: DynFlags -> DynFlags
isDumpSplices :: DynFlags -> Bool
filterOutChildren :: (a -> TyThing) -> [a] -> [a]
class HasType a where
errorMsgSpan :: ErrMsg -> SrcSpan
typeForUser :: Type -> SDoc
nameForUser :: Name -> SDoc
occNameForUser :: OccName -> SDoc
showDocWith :: DynFlags -> Mode -> Doc -> String
fromTyThing :: TyThing -> GapThing
fileModSummary :: GhcMonad m => FilePath -> m ModSummary
occName :: HasOccName name => name -> OccName
listVisibleModuleNames :: DynFlags -> [ModuleName]
listVisibleModules :: DynFlags -> [Module]
lookupModulePackageInAllPackages :: DynFlags -> ModuleName -> [String]
isSynTyCon :: TyCon -> Bool
Arguments
:: String | Haskell module source text (full Unicode is supported) |
-> DynFlags | |
-> FilePath | the filename (for source locations) |
-> Either ErrorMessages (WarningMessages, Located (HsModule RdrName)) |
mkErrStyle' :: DynFlags -> PrintUnqualified -> PprStyle