apiary-0.4.3.2: Simple web framework inspired by scotty.

Safe HaskellNone

Control.Monad.Apiary

Contents

Synopsis

Documentation

data ApiaryT c m a Source

Instances

runApiaryT :: Monad m => ApiaryConfig -> (forall x. m x -> IO x) -> ApiaryT `[]` m a -> ApplicationSource

getter

execute action

action :: Monad m => Fn c (ActionT m ()) -> ApiaryT c m ()Source

action_ :: Monad m => ActionT m () -> ApiaryT c m ()Source

Deprecated: use action method.

actionWithPreAction :: Monad m => (SList xs -> ActionT IO a) -> Fn xs (ActionT m ()) -> ApiaryT xs m ()Source

execute action before main action. since v0.4.2.0

Reexport