purescript-0.13.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Interactive.Module

Contents

Synopsis

Support Module

supportModuleName :: ModuleName Source #

The name of the PSCI support module

supportModuleIsDefined :: [ModuleName] -> 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 -> SourceType -> 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.