Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type Router env r req res = Router' env (Application (Sem r) req res) Source #
StaticRouter (Map Text (Router' env a)) [env -> a] | |
CaptureRouter (Router' (Text, env) a) | |
Choice (Router' env a) (Router' env a) |
pathRouter :: Text -> Router' env a -> Router' env a Source #
leafRouter :: (env -> a) -> Router' env a Source #