Safe Haskell | None |
---|---|
Language | Haskell2010 |
- parseRoutes :: QuasiQuoter
- parseRoutesFile :: FilePath -> Q Exp
- parseRoutesNoCheck :: QuasiQuoter
- parseRoutesFileNoCheck :: FilePath -> Q Exp
- parseType :: String -> Type
- parseTypeTree :: String -> Maybe TypeTree
- data TypeTree
Documentation
parseRoutes :: QuasiQuoter Source
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 Exp Source
parseRoutesNoCheck :: QuasiQuoter Source
Same as parseRoutes
, but performs no overlap checking.
parseRoutesFileNoCheck :: FilePath -> Q Exp Source
parseTypeTree :: String -> Maybe TypeTree Source