tonatona-0.1.2.1: meta application framework
Safe HaskellNone
LanguageHaskell2010

Tonatona

Synopsis

Documentation

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 #

Methods

config :: env -> config Source #