Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data RouteResult a
- = Fail ServerError
- | FailFatal !ServerError
- | Route !a
- newtype RouteResultT m a = RouteResultT {
- runRouteResultT :: m (RouteResult a)
Documentation
data RouteResult a Source #
The result of matching against a path in the route tree.
Fail ServerError | Keep trying other paths.
The |
FailFatal !ServerError | Don't try other paths. |
Route !a |
Instances
newtype RouteResultT m a Source #
RouteResultT | |
|