Safe Haskell | None |
---|---|
Language | Haskell98 |
Provides functionality for runtime Hamlet templates. Please use Text.Hamlet.Runtime instead.
- 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
parseHamletRT :: MonadThrow m => HamletSettings -> String -> m HamletRT Source
renderHamletRT :: MonadThrow m => HamletRT -> HamletMap url -> UrlRenderer url -> m Html Source