Safe Haskell | None |
---|
- commandLine :: MonadIO m => [CommandLineOption] -> Behavior -> [External] -> CLM m ()
- unicodeConsole :: Handle -> PrettyOptions -> Either String DocH -> IO ()
- diffDocH :: (MonadCatch m, MonadIO m) => PrettyOptions -> DocH -> DocH -> m String
- diffR :: Injection a CoreTC => PrettyOptions -> String -> RewriteH a -> RewriteH a
- performKernelEffect :: MonadIO m => KernelEffect -> ExprH -> CLM m ()
- performQuery :: MonadIO m => QueryFun -> CLM m ()
- performShellEffect :: MonadIO m => ShellEffect -> CLM m ()
- performMetaCommand :: MonadIO m => MetaCommand -> CLM m ()
- cl_kernel_env :: CommandLineState -> HermitMEnv
- getFocusPath :: MonadIO m => CLM m PathH
- shellComplete :: MVar CommandLineState -> String -> String -> IO [Completion]
- evalScript :: MonadIO m => String -> CLM m ()
The HERMIT Command-line Shell
commandLine :: MonadIO m => [CommandLineOption] -> Behavior -> [External] -> CLM m ()Source
The first argument includes a list of files to load.
unicodeConsole :: Handle -> PrettyOptions -> Either String DocH -> IO ()Source
diffDocH :: (MonadCatch m, MonadIO m) => PrettyOptions -> DocH -> DocH -> m StringSource
Exported for hermit-web
performKernelEffect :: MonadIO m => KernelEffect -> ExprH -> CLM m ()Source
performQuery :: MonadIO m => QueryFun -> CLM m ()Source
performShellEffect :: MonadIO m => ShellEffect -> CLM m ()Source
performMetaCommand :: MonadIO m => MetaCommand -> CLM m ()Source
getFocusPath :: MonadIO m => CLM m PathHSource
shellComplete :: MVar CommandLineState -> String -> String -> IO [Completion]Source
evalScript :: MonadIO m => String -> CLM m ()Source