| Safe Haskell | Safe-Infered |
|---|
Text.Hamlet.Parse
- data Result v
- data Content
- data Doc
- parseDoc :: HamletSettings -> String -> Result [Doc]
- data HamletSettings = HamletSettings {}
- defaultHamletSettings :: HamletSettings
- xhtmlHamletSettings :: HamletSettings
- debugHamletSettings :: HamletSettings
- data CloseStyle
- = NoClose
- | CloseInside
- | CloseSeparate
- data Binding
Documentation
Constructors
| ContentRaw String | |
| ContentVar Deref | |
| ContentUrl Bool Deref | bool: does it include params? |
| ContentEmbed Deref | |
| ContentMsg Deref | |
| ContentAttrs 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.
data CloseStyle Source
Constructors
| NoClose | |
| CloseInside | |
| CloseSeparate |