Safe Haskell | None |
---|
- type TextUrl url = RenderUrl url -> Builder
- class ToText a where
- toText :: a -> Builder
- renderTextUrl :: RenderUrl url -> TextUrl url -> Text
- stext :: QuasiQuoter
- text :: QuasiQuoter
- textFile :: FilePath -> Q Exp
- textFileDebug :: FilePath -> Q Exp
- textFileReload :: FilePath -> Q Exp
- st :: QuasiQuoter
- lt :: QuasiQuoter
- codegen :: QuasiQuoter
- codegenSt :: QuasiQuoter
- codegenFile :: FilePath -> Q Exp
- codegenFileReload :: FilePath -> Q Exp
Documentation
renderTextUrl :: RenderUrl url -> TextUrl url -> TextSource
textFileDebug :: FilePath -> Q ExpSource
Deprecated: Please use textFileReload instead
textFileReload :: FilePath -> Q ExpSource
strict text
lazy text, same as stext :) * Yesod code generation
codegen is designed for generating Yesod code, including templates So it uses different interpolation characters that won't clash with templates. You can use the normal text quasiquoters to generate code
codegenSt :: QuasiQuoterSource
Generates strict Text codegen is designed for generating Yesod code, including templates So it uses different interpolation characters that won't clash with templates.
codegenFile :: FilePath -> Q ExpSource
codegenFileReload :: FilePath -> Q ExpSource