- initializeGhc :: GhcMonad m => CompileInput -> m ()
- ghcCompile :: GhcMonad m => CompileInput -> m SuccessFlag
- getListNeededPackages :: Shaker IO [String]
- installedPackageIdString :: InstalledPackageId -> String
- fillModuleDataTest :: [ModuleData] -> Shaker IO [[ModuleData]]
- addLibraryToDynFlags :: [String] -> DynFlags -> DynFlags
- searchInstalledPackageId :: String -> Shaker IO (Maybe String)
GHC Compile management
initializeGhc :: GhcMonad m => CompileInput -> m ()Source
ghcCompile :: GhcMonad m => CompileInput -> m SuccessFlagSource
Configure and load targets of compilation. It is possible to exploit the compilation result after this step.
getListNeededPackages :: Shaker IO [String]Source
Get the list of unresolved import and unexposed yet needed packages
fillModuleDataTest :: [ModuleData] -> Shaker IO [[ModuleData]]Source
addLibraryToDynFlags :: [String] -> DynFlags -> DynFlagsSource