hsdev-0.3.1.3: Haskell development library

Safe HaskellNone
LanguageHaskell98

HsDev.Tools.Ghc.Repl

Synopsis

Documentation

importModules :: GhcMonad m => [String] -> m () Source #

Import some modules

preludeModules :: [String] Source #

Default interpreter modules

evaluate :: GhcMonad m => String -> m String Source #

Evaluate expression

expressionType :: GhcMonad m => String -> m String Source #

Get expression type as string

tryRepl :: (GhcMonad m, MonadCatch m) => m a -> m (ReplResult a) Source #