Tonatona
run :: HasParser env => RIO env () -> IO () Source #
Main function.
liftIOMap :: (IO a -> IO b) -> RIO env a -> RIO env b Source #
Lift IO map function into RIO.
liftIOCont :: ((a -> IO b) -> IO c) -> (a -> RIO env b) -> RIO env c Source #
Lift Continuation-passing style IO function into RIO.
class HasParser a where Source #
Methods
parser :: Parser a Source #
class HasConfig env config where Source #
config :: env -> config Source #