| Safe Haskell | None |
|---|
Yesod.Pure.NoRoute
Description
Create apps without any route data type. This loses some of the features of type-safe URLs, but simplifies app creation.
Documentation
module Yesod.Pure
Constructors
| App (NoRouteDispatch ()) |
Instances
data NoRouteDispatch a Source
Instances
| Monad NoRouteDispatch | I'm not convinced this instance is correct, for now consider it a dummy placeholder for playing around with do-syntax. |
| Functor NoRouteDispatch | |
| Applicative NoRouteDispatch | |
| Alternative NoRouteDispatch | |
| Monoid (NoRouteDispatch a) |
method :: Text -> NoRouteDispatch a -> NoRouteDispatch aSource
static :: Text -> NoRouteDispatch a -> NoRouteDispatch aSource
dynamic :: PathPiece p => (p -> NoRouteDispatch b) -> NoRouteDispatch ()Source
multi :: PathMultiPiece ps => (ps -> NoRouteDispatch b) -> NoRouteDispatch ()Source