Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type Application m req res = req -> m (RouteResult res) Source #
data RouterError Source #
Instances
Show RouterError Source # | |
Defined in Tendermint.SDK.BaseApp.Router.Types showsPrec :: Int -> RouterError -> ShowS # show :: RouterError -> String # showList :: [RouterError] -> ShowS # | |
IsAppError RouterError Source # | |
Defined in Tendermint.SDK.BaseApp.Router.Types makeAppError :: RouterError -> AppError Source # |
data RouteResult a Source #
Instances
Monad RouteResult Source # | |
Defined in Tendermint.SDK.BaseApp.Router.Types (>>=) :: RouteResult a -> (a -> RouteResult b) -> RouteResult b # (>>) :: RouteResult a -> RouteResult b -> RouteResult b # return :: a -> RouteResult a # | |
Functor RouteResult Source # | |
Defined in Tendermint.SDK.BaseApp.Router.Types fmap :: (a -> b) -> RouteResult a -> RouteResult b # (<$) :: a -> RouteResult b -> RouteResult a # | |
Applicative RouteResult Source # | |
Defined in Tendermint.SDK.BaseApp.Router.Types pure :: a -> RouteResult a # (<*>) :: RouteResult (a -> b) -> RouteResult a -> RouteResult b # liftA2 :: (a -> b -> c) -> RouteResult a -> RouteResult b -> RouteResult c # (*>) :: RouteResult a -> RouteResult b -> RouteResult b # (<*) :: RouteResult a -> RouteResult b -> RouteResult a # |
data RouteResultT m a Source #
RouteResultT | |
|