Safe Haskell | None |
---|---|
Language | Haskell2010 |
- supportModuleName :: ModuleName
- supportModuleIsDefined :: [Module] -> Bool
- loadModule :: FilePath -> IO (Either String [Module])
- loadAllModules :: [FilePath] -> IO (Either MultipleErrors [(FilePath, Module)])
- createTemporaryModule :: Bool -> PSCiState -> Expr -> Module
- createTemporaryModuleForKind :: PSCiState -> Type -> Module
- createTemporaryModuleForImports :: PSCiState -> Module
- importDecl :: ImportedModule -> Declaration
- indexFile :: FilePath
- modulesDir :: FilePath
- internalSpan :: SourceSpan
Support Module
supportModuleName :: ModuleName Source #
The name of the PSCI support module
supportModuleIsDefined :: [Module] -> Bool Source #
Checks if the Console module is defined
Module Management
loadAllModules :: [FilePath] -> IO (Either MultipleErrors [(FilePath, Module)]) Source #
Load all modules.
createTemporaryModule :: Bool -> PSCiState -> Expr -> Module Source #
Makes a volatile module to execute the current expression.
createTemporaryModuleForKind :: PSCiState -> Type -> Module Source #
Makes a volatile module to hold a non-qualified type synonym for a fully-qualified data type declaration.
createTemporaryModuleForImports :: PSCiState -> Module Source #
Makes a volatile module to execute the current imports.