fused-effects-0.1.2.0: A fast, flexible, fused effect system.
Control.Effect.Fail.Internal
newtype Fail (m :: * -> *) k Source #
Constructors
Defined in Control.Effect.Fail.Internal
Methods
handle :: Functor f => f () -> (forall x. f (m x) -> n (f x)) -> Fail m (m a) -> Fail n (n (f a)) Source #
fmap' :: (a -> b) -> Fail m a -> Fail m b Source #
hmap :: (forall x. m x -> n x) -> Fail m a -> Fail n a Source #
fmap :: (a -> b) -> Fail m a -> Fail m b #
(<$) :: a -> Fail m b -> Fail m a #
Defined in Control.Effect.Fail
ret :: a -> FailC m a Source #
eff :: (Fail :+: sig) (FailC m) (FailC m a) -> FailC m a Source #