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