Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- work :: (MonadIO m, MonadThrow m, MonadCatch m) => ReplCommandOptions -> m ExitCode
- type GhciScript = [Text]
- runRepl :: forall b m. (MonadIO m, MonadThrow m, ToDbBackend b, MonadCatch m) => FilePath -> YamlSpec b -> m ExitCode
- invokeGhci :: FilePath -> [GhcArgument] -> GhciScript -> IO ExitCode
- mkGhciScript :: DbBackend -> FilePath -> FilePath -> GhciScript
Documentation
work :: (MonadIO m, MonadThrow m, MonadCatch m) => ReplCommandOptions -> m ExitCode #
Repl processing Invokes Napkin ghci repl
type GhciScript = [Text] #
runRepl :: forall b m. (MonadIO m, MonadThrow m, ToDbBackend b, MonadCatch m) => FilePath -> YamlSpec b -> m ExitCode #
invokeGhci :: FilePath -> [GhcArgument] -> GhciScript -> IO ExitCode #
mkGhciScript :: DbBackend -> FilePath -> FilePath -> GhciScript #