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 :: (HasCallStack, IOE :> es) => Eff (Console : es) a -> Eff es a
runConsole :: forall (es :: [Effect]) a.
(HasCallStack, IOE :> es) =>
Eff (Console : es) a -> Eff es a
runConsole = StaticRep Console -> Eff (Console : es) a -> Eff es a
forall (e :: Effect) (sideEffects :: SideEffects) (es :: [Effect])
a.
(HasCallStack, DispatchOf e ~ 'Static sideEffects,
MaybeIOE sideEffects es) =>
StaticRep e -> Eff (e : es) a -> Eff es a
evalStaticRep StaticRep Console
Console