-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Nice wrapper around yesod-routes for use with WAI -- -- Provides a simple wrapper for taking Route data mapping to WAI -- Applications and a default Application and producing a -- single Application. -- -- You may find the route-generator package useful for generating route -- data to use with this library. @package wai-dispatch @version 0.1 -- | Simple module to wrap yesod-routes for use with WAI module Network.Wai.Dispatch dispatch :: Application -> [Route Application] -> Application data Route res :: * -> * Route :: [Piece] -> Bool -> Dispatch res -> Route res rhPieces :: Route res -> [Piece] rhHasMulti :: Route res -> Bool rhDispatch :: Route res -> Dispatch res data Piece :: * Static :: Text -> Piece Dynamic :: Piece