Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ShellEffect Source
Abort | Abort GHC |
CLSModify (CommandLineState -> IO CommandLineState) | Modify shell state |
PluginComp (PluginM ()) | |
Continue | exit the shell, but don't abort/resume |
Dump (CommandLineState -> TransformH CoreTC DocH) String String Int | |
Resume |
performShellEffect :: (MonadCatch m, MonadError CLException m, MonadIO m, MonadState CommandLineState m) => ShellEffect -> m () Source
dump :: (MonadCatch m, MonadIO m, MonadState CommandLineState m) => (CommandLineState -> TransformH CoreTC DocH) -> String -> String -> Int -> m () Source