hs-abci-sdk-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Tendermint.SDK.BaseApp.Router.Types

Documentation

type Application m req res = req -> m (RouteResult res) Source #

data RouteResult a Source #

Instances

Instances details
Monad RouteResult Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Router.Types

Methods

(>>=) :: RouteResult a -> (a -> RouteResult b) -> RouteResult b #

(>>) :: RouteResult a -> RouteResult b -> RouteResult b #

return :: a -> RouteResult a #

Functor RouteResult Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Router.Types

Methods

fmap :: (a -> b) -> RouteResult a -> RouteResult b #

(<$) :: a -> RouteResult b -> RouteResult a #

Applicative RouteResult Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Router.Types

Methods

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 #

Constructors

RouteResultT 

Fields

Instances

Instances details
MonadTrans RouteResultT Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Router.Types

Methods

lift :: Monad m => m a -> RouteResultT m a #

Monad m => Monad (RouteResultT m) Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Router.Types

Methods

(>>=) :: RouteResultT m a -> (a -> RouteResultT m b) -> RouteResultT m b #

(>>) :: RouteResultT m a -> RouteResultT m b -> RouteResultT m b #

return :: a -> RouteResultT m a #

Functor m => Functor (RouteResultT m) Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Router.Types

Methods

fmap :: (a -> b) -> RouteResultT m a -> RouteResultT m b #

(<$) :: a -> RouteResultT m b -> RouteResultT m a #

Monad m => Applicative (RouteResultT m) Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Router.Types

Methods

pure :: a -> RouteResultT m a #

(<*>) :: RouteResultT m (a -> b) -> RouteResultT m a -> RouteResultT m b #

liftA2 :: (a -> b -> c) -> RouteResultT m a -> RouteResultT m b -> RouteResultT m c #

(*>) :: RouteResultT m a -> RouteResultT m b -> RouteResultT m b #

(<*) :: RouteResultT m a -> RouteResultT m b -> RouteResultT m a #

class HasPath t where Source #

Methods

path :: Lens' t Text Source #

Instances

Instances details
HasPath QueryRequest Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Query.Types

Methods

path :: Lens' QueryRequest Text Source #

HasPath (RoutingTx msg) Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Transaction.Types

Methods

path :: Lens' (RoutingTx msg) Text Source #