Safe Haskell | None |
---|---|
Language | Haskell98 |
- importModules :: GhcMonad m => [String] -> m ()
- preludeModules :: [String]
- evaluate :: GhcMonad m => String -> m String
- expressionType :: GhcMonad m => String -> m String
- data ReplResult a
- tryRepl :: (GhcMonad m, MonadCatch m) => m a -> m (ReplResult a)
Documentation
importModules :: GhcMonad m => [String] -> m () Source #
Import some modules
preludeModules :: [String] Source #
Default interpreter modules
data ReplResult a Source #
Eq a => Eq (ReplResult a) Source # | |
Ord a => Ord (ReplResult a) Source # | |
Read a => Read (ReplResult a) Source # | |
Show a => Show (ReplResult a) Source # | |
ToJSON a => ToJSON (ReplResult a) Source # | |
FromJSON a => FromJSON (ReplResult a) Source # | |
tryRepl :: (GhcMonad m, MonadCatch m) => m a -> m (ReplResult a) Source #