hamlet-1.1.6.3: Haml-like template files that are compile-time checked

Safe HaskellNone

Text.Hamlet.RT

Contents

Description

Most everything exported here is exported also by Text.Hamlet. The exceptions to that rule should not be necessary for normal usage.

Synopsis

Public API

newtype HamletRT

Constructors

HamletRT [SimpleDoc] 

type HamletMap url = [([String], HamletData url)]

renderHamletRT :: Failure HamletException m => HamletRT -> HamletMap url -> (url -> [(Text, Text)] -> Text) -> m Html

renderHamletRT' :: Failure HamletException m => Bool -> HamletRT -> HamletMap url -> (url -> [(Text, Text)] -> Text) -> m Html