Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data MkDispatchSettings = MkDispatchSettings {}
- mkDispatchClause :: MkDispatchSettings -> [ResourceTree a] -> Q Clause
- defaultGetHandler :: Maybe String -> String -> Q Exp
Documentation
mkDispatchClause :: MkDispatchSettings -> [ResourceTree a] -> Q Clause Source
A simpler version of Network.Wai.Middleware.Routes.TH.Dispatch.mkDispatchClause, based on view patterns.
Since 1.4.0