Text.Hamlet.Parse
- data Result v
- newtype Deref = Deref [(Bool, Ident)]
- newtype Ident = Ident String
- data Content
- data Doc
- parseDoc :: HamletSettings -> String -> Result [Doc]
- data HamletSettings = HamletSettings {}
- defaultHamletSettings :: HamletSettings
Documentation
Constructors
ContentRaw String | |
ContentVar Deref | |
ContentUrl Deref | |
ContentEmbed Deref |
data HamletSettings Source
Settings for parsing of a hamlet document.
Constructors
HamletSettings | |
Fields
|
defaultHamletSettings :: HamletSettingsSource
Defaults settings: HTML5 doctype and HTML-style empty tags.