module Effectful.Console.Effect
(
Console
, runConsole
) where
import Effectful
import Effectful.Dispatch.Static
data Console :: Effect
type instance DispatchOf Console = Static WithSideEffects
data instance StaticRep Console = Console
runConsole :: IOE :> es => Eff (Console : es) a -> Eff es a
runConsole :: forall (es :: [Effect]) a.
(IOE :> es) =>
Eff (Console : es) a -> Eff es a
runConsole = forall (e :: Effect) (sideEffects :: SideEffects) (es :: [Effect])
a.
(DispatchOf e ~ 'Static sideEffects, MaybeIOE sideEffects es) =>
StaticRep e -> Eff (e : es) a -> Eff es a
evalStaticRep StaticRep Console
Console