wai-routes-0.6.2: Typesafe URLs for Wai applications.

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Middleware.Routes.Parse

Synopsis

Documentation

parseRoutes :: QuasiQuoter Source

A quasi-quoter to parse a string into a list of Resources. Checks for overlapping routes, failing if present; use parseRoutesNoCheck to skip the checking. See documentation site for details on syntax.

parseRoutesNoCheck :: QuasiQuoter Source

Same as parseRoutes, but performs no overlap checking.