servant-server-0.19.2: A family of combinators for defining webservices APIs and serving them
Safe Haskell None
Language Haskell2010

Servant.Server.Internal.RouteResult

Synopsis

Documentation

data RouteResult a Source #

The result of matching against a path in the route tree.

Constructors

Fail ServerError

Keep trying other paths. The ServantError should only be 404, 405 or 406.

FailFatal ! ServerError

Don't try other paths.

Route !a

Instances

Instances details
Monad RouteResult Source #
Instance details

Defined in Servant.Server.Internal.RouteResult

Functor RouteResult Source #
Instance details

Defined in Servant.Server.Internal.RouteResult

Applicative RouteResult Source #
Instance details

Defined in Servant.Server.Internal.RouteResult

Eq a => Eq ( RouteResult a) Source #
Instance details

Defined in Servant.Server.Internal.RouteResult

Read a => Read ( RouteResult a) Source #
Instance details

Defined in Servant.Server.Internal.RouteResult

Show a => Show ( RouteResult a) Source #
Instance details

Defined in Servant.Server.Internal.RouteResult

newtype RouteResultT m a Source #

Instances

Instances details
MonadTrans RouteResultT Source #
Instance details

Defined in Servant.Server.Internal.RouteResult

MonadTransControl RouteResultT Source #
Instance details

Defined in Servant.Server.Internal.RouteResult

Associated Types

type StT RouteResultT a Source #

MonadBase b m => MonadBase b ( RouteResultT m) Source #
Instance details

Defined in Servant.Server.Internal.RouteResult

MonadBaseControl b m => MonadBaseControl b ( RouteResultT m) Source #
Instance details

Defined in Servant.Server.Internal.RouteResult

Associated Types

type StM ( RouteResultT m) a Source #

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

Defined in Servant.Server.Internal.RouteResult

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

Defined in Servant.Server.Internal.RouteResult

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

Defined in Servant.Server.Internal.RouteResult

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

Defined in Servant.Server.Internal.RouteResult

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

Defined in Servant.Server.Internal.RouteResult

type StT RouteResultT a Source #
Instance details

Defined in Servant.Server.Internal.RouteResult

type StM ( RouteResultT m) a Source #
Instance details

Defined in Servant.Server.Internal.RouteResult