Safe Haskell | None |
---|---|
Language | Haskell2010 |
An internal module. Depend on this at your own risk -- breaking changes to this module's interface will not be represented as a major version bump.
- data Endpoint
- data PathPiece
- data Type where
- data Verb
- renderVerb :: Verb -> String
- routeTreeToResourceTree :: [RouteTree String PathPiece Endpoint] -> [ResourceTree String]
Documentation
The type of things that can affect a path.
A value containing a Proxy
of some Haskell type.
renderVerb :: Verb -> String Source #
Render a verb as an uppercase string.
routeTreeToResourceTree :: [RouteTree String PathPiece Endpoint] -> [ResourceTree String] Source #
Convert the Rowdy RouteTree
structure into one appropriate for the Yesod
routing functions.