calamity-0.8.0.0: A library for writing discord bots in haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Calamity.Internal.RunIntoIO

Description

Something for converting polysemy actions into IO actions

Documentation

runSemToIO :: forall r a. Member (Final IO) r => Sem r a -> Sem r (IO (Maybe a)) Source #

bindSemToIO :: forall r p a. Member (Final IO) r => (p -> Sem r a) -> Sem r (p -> IO (Maybe a)) Source #