Safe Haskell | None |
---|---|
Language | Haskell98 |
Most everything exported here is exported also by Text.Hamlet. The exceptions to that rule should not be necessary for normal usage.
- 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
renderHamletRT' :: MonadThrow m => Bool -> HamletRT -> HamletMap url -> (url -> [(Text, Text)] -> Text) -> m Html Source