Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class CompileError a where Source #
compileError :: String -> a Source #
isCompileError :: a -> Bool Source #
reviseError :: a -> String -> a Source #
Instances
CompileErrorM m => CompileError (m a) Source # | |
Defined in Base.CompileError compileError :: String -> m a Source # isCompileError :: m a -> Bool Source # reviseError :: m a -> String -> m a Source # |
class (Functor m, Monad m, MonadFail m) => CompileErrorM m where Source #
compileErrorM :: String -> m a Source #
isCompileErrorM :: m a -> Bool Source #
collectAllOrErrorM :: Foldable f => f (m a) -> m [a] Source #
collectOneOrErrorM :: Foldable f => f (m a) -> m a Source #
reviseErrorM :: m a -> String -> m a Source #
compileWarningM :: String -> m () Source #
Instances
CompileErrorM CompileInfo Source # | |
Defined in Compilation.CompileInfo compileErrorM :: String -> CompileInfo a Source # isCompileErrorM :: CompileInfo a -> Bool Source # collectAllOrErrorM :: Foldable f => f (CompileInfo a) -> CompileInfo [a] Source # collectOneOrErrorM :: Foldable f => f (CompileInfo a) -> CompileInfo a Source # reviseErrorM :: CompileInfo a -> String -> CompileInfo a Source # compileWarningM :: String -> CompileInfo () Source # |