Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Base.CompileInfo
Documentation
type CompileInfo a = CompileInfoT Identity a Source #
type CompileInfoIO a = CompileInfoT IO a Source #
data CompileMessage Source #
Instances
Show CompileMessage Source # | |
Defined in Base.CompileInfo Methods showsPrec :: Int -> CompileMessage -> ShowS # show :: CompileMessage -> String # showList :: [CompileMessage] -> ShowS # |
fromCompileInfo :: Monad m => CompileInfo a -> CompileInfoT m a Source #
getCompileError :: CompileInfo a -> CompileMessage Source #
getCompileErrorT :: Monad m => CompileInfoT m a -> m CompileMessage Source #
getCompileSuccess :: CompileInfo a -> a Source #
getCompileSuccessT :: Monad m => CompileInfoT m a -> m a Source #
getCompileWarnings :: CompileInfo a -> [String] Source #
getCompileWarningsT :: Monad m => CompileInfoT m a -> m [String] Source #
isCompileError :: CompileInfo a -> Bool Source #
isCompileErrorT :: Monad m => CompileInfoT m a -> m Bool Source #
toCompileInfo :: Monad m => CompileInfoT m a -> m (CompileInfo a) Source #
tryCompileInfoIO :: String -> CompileInfoIO a -> IO a Source #