Copyright | (C) 2019 Ryan Scott |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Ryan Scott |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | GHC2021 |
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
| |||||
PMonadFail [] Source # | |||||
Defined in Control.Monad.Fail.Singletons
|
class SMonad m => SMonadFail (m :: Type -> Type) where Source #
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 suppressUnusedWarnings :: () # | |
type Apply (FailSym0 :: TyFun [Char] (m a) -> Type) (a6989586621679549513 :: [Char]) Source # | |