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