purescript-0.10.7: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell98

Language.PureScript.Interactive.Module

Contents

Synopsis

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

loadModule :: FilePath -> IO (Either String [Module]) Source #

Loads a file for use with imports.

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.