tonatona-0.1.1.0: meta application framework

Safe HaskellNone
LanguageHaskell2010

Tonatona

Synopsis

Documentation

run :: HasParser env => RIO env () -> IO () Source #

Main function.

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 #