Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
MonadTrans TrasaT Source # | |
Defined in Trasa.Server | |
Monad m => MonadError TrasaErr (TrasaT m) Source # | |
Defined in Trasa.Server throwError :: TrasaErr -> TrasaT m a # catchError :: TrasaT m a -> (TrasaErr -> TrasaT m a) -> TrasaT m a # | |
Monad m => Monad (TrasaT m) Source # | |
Functor m => Functor (TrasaT m) Source # | |
Monad m => Applicative (TrasaT m) Source # | |
MonadIO m => MonadIO (TrasaT m) Source # | |
Defined in Trasa.Server | |
Monad m => MonadState (Map (CI ByteString) Text) (TrasaT m) Source # | |
Monad m => MonadReader (Map (CI ByteString) Text) (TrasaT m) Source # | |
:: (forall caps qrys req resp. route caps qrys req resp -> MetaServer caps qrys req resp) | |
-> (forall caps qrys req resp. route caps qrys req resp -> Rec Identity caps -> Rec Parameter qrys -> RequestBody Identity req -> TrasaT IO resp) | Actions to perform when requests come in |
-> Router route | Router |
-> Application | WAI Application |