Safe Haskell | None |
---|---|
Language | Haskell2010 |
Provides functionality for runtime Hamlet templates. Please use Text.Hamlet.Runtime instead.
Synopsis
- newtype HamletRT = HamletRT [SimpleDoc]
- data HamletData url
- type HamletMap url = [([String], HamletData url)]
- data HamletException
- parseHamletRT :: MonadThrow m => HamletSettings -> String -> m HamletRT
- renderHamletRT :: MonadThrow m => HamletRT -> HamletMap url -> UrlRenderer url -> m Html
- renderHamletRT' :: MonadThrow m => Bool -> HamletRT -> HamletMap url -> (url -> [(Text, Text)] -> Text) -> m Html
- data SimpleDoc
Public API
data HamletData url Source #
type HamletMap url = [([String], HamletData url)] Source #
data HamletException Source #
Instances
Show HamletException Source # | |
Defined in Text.Hamlet.RT showsPrec :: Int -> HamletException -> ShowS # show :: HamletException -> String # showList :: [HamletException] -> ShowS # | |
Exception HamletException Source # | |
Defined in Text.Hamlet.RT |
parseHamletRT :: MonadThrow m => HamletSettings -> String -> m HamletRT Source #
renderHamletRT :: MonadThrow m => HamletRT -> HamletMap url -> UrlRenderer url -> m Html Source #