Safe Haskell | None |
---|
Documentation
initGhci :: GhcMonad m => m ()Source
Initialize the GHC API. Run this as the first thing in the runGhc
.
evalImport :: GhcMonad m => String -> m ()Source
Evaluate a single import statement.
If this import statement is importing a module which was previously
imported implicitly (such as Prelude
) or if this module has a hiding
annotation, the previous import is removed.
evalDeclarations :: GhcMonad m => String -> m [String]Source
Evaluate a series of declarations. Return all names which were bound by these declarations.