| Copyright | (C) 2019 Ryan Scott |
|---|---|
| License | BSD-style (see LICENSE) |
| Maintainer | Ryan Scott |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | GHC2021 |
Control.Monad.Fail.Singletons
Contents
Description
Defines the promoted and singled versions of the MonadFail type class.
Documentation
class PMonadFail (m :: k -> Type) Source #
Instances
| PMonadFail Maybe Source # | |||||
Defined in Control.Monad.Fail.Singletons Associated Types
| |||||
| PMonadFail [] Source # | |||||
Defined in Control.Monad.Fail.Singletons Associated Types
| |||||
class SMonad m => SMonadFail (m :: Type -> Type) where Source #
Methods
sFail :: forall a (t :: [Char]). Sing t -> Sing (Apply (FailSym0 :: TyFun [Char] (m a) -> Type) t) Source #
Instances
Defunctionalization symbols
data FailSym0 (a1 :: TyFun [Char] (m a)) Source #
Instances
| SMonadFail m => SingI (FailSym0 :: TyFun [Char] (m a) -> Type) Source # | |
| SuppressUnusedWarnings (FailSym0 :: TyFun [Char] (m a) -> Type) Source # | |
Defined in Control.Monad.Fail.Singletons Methods suppressUnusedWarnings :: () # | |
| type Apply (FailSym0 :: TyFun [Char] (m a) -> Type) (a6989586621679549513 :: [Char]) Source # | |