purescript-0.15.12: PureScript Programming Language Compiler

Safe Haskell | Safe-Inferred
Language | Haskell2010

Language.PureScript.Interactive.Module

Contents

- Support Module
- Module Management

Synopsis

- supportModuleName :: ModuleName
- supportModuleIsDefined :: [ModuleName] -> Bool
- loadAllModules :: [FilePath] -> IO (Either MultipleErrors [(FilePath, Module)])
- createTemporaryModule :: Bool -> PSCiState -> Expr -> Module
- createTemporaryModuleForKind :: PSCiState -> SourceType -> Module
- createTemporaryModuleForImports :: PSCiState -> Module
- importDecl :: ImportedModule -> Declaration
- indexFile :: FilePath
- modulesDir :: FilePath
- internalSpan :: SourceSpan

# Support Module

supportModuleName :: ModuleName #

The name of the PSCI support module

supportModuleIsDefined :: [ModuleName] -> Bool #

Checks if the Console module is defined

# Module Management

loadAllModules :: [FilePath] -> IO (Either MultipleErrors [(FilePath, Module)]) #

Load all modules.

createTemporaryModule :: Bool -> PSCiState -> Expr -> Module #

Makes a volatile module to execute the current expression.

createTemporaryModuleForKind :: PSCiState -> SourceType -> Module #

Makes a volatile module to hold a non-qualified type synonym for a fully-qualified data type declaration.

createTemporaryModuleForImports :: PSCiState -> Module #

Makes a volatile module to execute the current imports.

importDecl :: ImportedModule -> Declaration #

indexFile :: FilePath #

modulesDir :: FilePath #

internalSpan :: SourceSpan #