shakespeare-2.0.1.1: A toolkit for making compile-time interpolated templates

Safe HaskellNone
LanguageHaskell98

Text.Shakespeare.Text

Synopsis

Documentation

type TextUrl url = RenderUrl url -> Builder

class ToText a where

Methods

toText :: a -> Builder

textFileDebug :: FilePath -> Q Exp

Deprecated: Please use textFileReload instead

strict text

lazy text, same as stext :) * Yesod code generation

codegen :: QuasiQuoter

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 :: QuasiQuoter

Generates strict Text codegen is designed for generating Yesod code, including templates So it uses different interpolation characters that won't clash with templates.