Safe Haskell | None |
---|
- parseRoutes :: QuasiQuoter
- parseRoutesFile :: FilePath -> Q Exp
- parseRoutesNoCheck :: QuasiQuoter
- parseRoutesFileNoCheck :: FilePath -> Q Exp
- parseType :: String -> Type
- parseTypeTree :: String -> Maybe TypeTree
- data TypeTree
Documentation
parseRoutes :: QuasiQuoterSource
A quasi-quoter to parse a string into a list of Resource
s. Checks for
overlapping routes, failing if present; use parseRoutesNoCheck
to skip the
checking. See documentation site for details on syntax.
parseRoutesFile :: FilePath -> Q ExpSource
parseRoutesNoCheck :: QuasiQuoterSource
Same as parseRoutes
, but performs no overlap checking.