- type XHtmlM x a = Writer (Seq x) a
- type XHtml x = XHtmlM x ()
- data Page
- class Content e
- type Attrs = [Attr]
- data Attr = Attr Text Text
- data TopLevelContent
- data HeadContent
- class Flow c
- data FlowContent
- class Block c
- data BlockContent
- class Inline c
- data InlineContent
- data ObjectContent
- data MapContent
- data ListContent
- data DefinitionListContent
- data FieldSetContent
- data Table1Content
- data Table2Content
- data Table3Content
- data TableColContent
- html' :: Bool -> Attrs -> XHtml TopLevelContent -> XHtml Page
- html :: Bool -> XHtml TopLevelContent -> XHtml Page
- text :: CData c => Text -> XHtml c
- empty :: XHtml x
- head' :: Attrs -> XHtml HeadContent -> XHtml TopLevelContent
- head_ :: XHtml HeadContent -> XHtml TopLevelContent
- title' :: Attrs -> Text -> XHtml HeadContent
- title :: Text -> XHtml HeadContent
- base' :: Text -> Attrs -> XHtml HeadContent
- base :: Text -> XHtml HeadContent
- meta' :: Text -> Attrs -> XHtml HeadContent
- meta :: Text -> XHtml HeadContent
- link' :: Attrs -> XHtml HeadContent
- link :: XHtml HeadContent
- style' :: Text -> Attrs -> Text -> XHtml HeadContent
- style :: Text -> Text -> XHtml HeadContent
- script' :: Text -> Attrs -> Text -> XHtml HeadContent
- script :: Text -> Text -> XHtml HeadContent
- noscript' :: Block c => Attrs -> XHtml BlockContent -> XHtml c
- noscript :: Block c => XHtml BlockContent -> XHtml c
- body' :: Attrs -> XHtml BlockContent -> XHtml TopLevelContent
- body :: XHtml BlockContent -> XHtml TopLevelContent
- div' :: Block c => Attrs -> XHtml FlowContent -> XHtml c
- div_ :: Block c => XHtml FlowContent -> XHtml c
- p' :: Block c => Attrs -> XHtml InlineContent -> XHtml c
- p :: Block c => XHtml InlineContent -> XHtml c
- h1' :: Block c => Attrs -> XHtml InlineContent -> XHtml c
- h1 :: Block c => XHtml InlineContent -> XHtml c
- h2' :: Block c => Attrs -> XHtml InlineContent -> XHtml c
- h2 :: Block c => XHtml InlineContent -> XHtml c
- h3' :: Block c => Attrs -> XHtml InlineContent -> XHtml c
- h3 :: Block c => XHtml InlineContent -> XHtml c
- h4' :: Block c => Attrs -> XHtml InlineContent -> XHtml c
- h4 :: Block c => XHtml InlineContent -> XHtml c
- h5' :: Block c => Attrs -> XHtml InlineContent -> XHtml c
- h5 :: Block c => XHtml InlineContent -> XHtml c
- h6' :: Block c => Attrs -> XHtml InlineContent -> XHtml c
- h6 :: Block c => XHtml InlineContent -> XHtml c
- ul' :: Block c => Attrs -> XHtml ListContent -> XHtml c
- ul :: Block c => XHtml ListContent -> XHtml c
- ol' :: Block c => Attrs -> XHtml ListContent -> XHtml c
- ol :: Block c => XHtml ListContent -> XHtml c
- li' :: Attrs -> XHtml FlowContent -> XHtml ListContent
- li :: XHtml FlowContent -> XHtml ListContent
- dl' :: Block c => Attrs -> XHtml DefinitionListContent -> XHtml c
- dl :: Block c => XHtml DefinitionListContent -> XHtml c
- dt' :: Attrs -> XHtml InlineContent -> XHtml DefinitionListContent
- dt :: XHtml InlineContent -> XHtml DefinitionListContent
- dd' :: Attrs -> XHtml InlineContent -> XHtml DefinitionListContent
- dd :: XHtml InlineContent -> XHtml DefinitionListContent
- address' :: Block c => Attrs -> XHtml InlineContent -> XHtml c
- address :: Block c => XHtml InlineContent -> XHtml c
- hr' :: Block c => Attrs -> XHtml c
- hr :: Block c => XHtml c
- pre' :: Block c => Attrs -> XHtml InlineContent -> XHtml c
- pre :: Block c => XHtml InlineContent -> XHtml c
- blockquote' :: Block c => Attrs -> XHtml BlockContent -> XHtml c
- blockquote :: Block c => XHtml BlockContent -> XHtml c
- ins' :: (Flow c, Content c) => Attrs -> XHtml c -> XHtml c
- ins :: (Flow c, Content c) => XHtml c -> XHtml c
- del' :: (Flow c, Content c) => Attrs -> XHtml c -> XHtml c
- del :: (Flow c, Content c) => XHtml c -> XHtml c
- a' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- a :: Inline c => XHtml InlineContent -> XHtml c
- span' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- span_ :: Inline c => XHtml InlineContent -> XHtml c
- bdo' :: Inline c => Text -> Attrs -> XHtml InlineContent -> XHtml c
- bdo :: Inline c => Text -> XHtml InlineContent -> XHtml c
- br' :: Inline c => Attrs -> XHtml c
- br :: Inline c => XHtml c
- em' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- em :: Inline c => XHtml InlineContent -> XHtml c
- strong' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- strong :: Inline c => XHtml InlineContent -> XHtml c
- dfn' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- dfn :: Inline c => XHtml InlineContent -> XHtml c
- code' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- code :: Inline c => XHtml InlineContent -> XHtml c
- samp' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- samp :: Inline c => XHtml InlineContent -> XHtml c
- kbd' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- kbd :: Inline c => XHtml InlineContent -> XHtml c
- var' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- var :: Inline c => XHtml InlineContent -> XHtml c
- cite' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- cite :: Inline c => XHtml InlineContent -> XHtml c
- abbr' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- abbr :: Inline c => XHtml InlineContent -> XHtml c
- acronym' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- acronym :: Inline c => XHtml InlineContent -> XHtml c
- q' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- q :: Inline c => XHtml InlineContent -> XHtml c
- sub' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- sub :: Inline c => XHtml InlineContent -> XHtml c
- tt' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- tt :: Inline c => XHtml InlineContent -> XHtml c
- i' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- i :: Inline c => XHtml InlineContent -> XHtml c
- b' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- b :: Inline c => XHtml InlineContent -> XHtml c
- big' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- big :: Inline c => XHtml InlineContent -> XHtml c
- small' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- small :: Inline c => XHtml InlineContent -> XHtml c
- object' :: Flow c => Attrs -> XHtml ObjectContent -> XHtml c
- object :: Flow c => XHtml ObjectContent -> XHtml c
- param' :: Attrs -> XHtml ObjectContent
- param :: XHtml ObjectContent
- img' :: Flow c => Text -> Text -> Attrs -> XHtml c
- img :: Flow c => Text -> Text -> XHtml c
- map' :: Flow c => Text -> Attrs -> XHtml MapContent -> XHtml c
- map_ :: Flow c => Text -> XHtml MapContent -> XHtml c
- area' :: Text -> Attrs -> XHtml MapContent
- area :: Text -> XHtml MapContent
- form' :: Block c => Text -> Attrs -> XHtml FlowContent -> XHtml c
- form :: Block c => Text -> XHtml FlowContent -> XHtml c
- label' :: Inline c => Attrs -> XHtml InlineContent -> XHtml c
- label :: Inline c => XHtml InlineContent -> XHtml c
- input' :: Inline c => Attrs -> XHtml c
- input :: Inline c => XHtml c
- select' :: Inline c => Attrs -> XHtml OptionContent -> XHtml c
- select :: Inline c => XHtml OptionContent -> XHtml c
- optgroup' :: Text -> Attrs -> XHtml OptionContent -> XHtml OptionContent
- optgroup :: Text -> XHtml OptionContent -> XHtml OptionContent
- option' :: Attrs -> Text -> XHtml OptionContent
- option :: Text -> XHtml OptionContent
- textarea' :: Inline c => Int -> Int -> Attrs -> Text -> XHtml c
- textarea :: Inline c => Int -> Int -> Text -> XHtml c
- fieldset' :: Block c => Attrs -> XHtml FieldSetContent -> XHtml c
- fieldset :: Block c => XHtml FieldSetContent -> XHtml c
- legend' :: Attrs -> XHtml InlineContent -> XHtml FieldSetContent
- legend :: XHtml InlineContent -> XHtml FieldSetContent
- button' :: Inline c => Attrs -> XHtml FlowContent -> XHtml c
- button :: Inline c => XHtml FlowContent -> XHtml c
- table' :: Block c => Attrs -> XHtml Table1Content -> XHtml c
- table :: Block c => XHtml Table1Content -> XHtml c
- caption' :: Attrs -> XHtml InlineContent -> XHtml Table1Content
- caption :: XHtml InlineContent -> XHtml Table1Content
- thead' :: Attrs -> XHtml Table2Content -> XHtml Table1Content
- thead :: XHtml Table2Content -> XHtml Table1Content
- tfoot' :: Attrs -> XHtml Table2Content -> XHtml Table1Content
- tfoot :: XHtml Table2Content -> XHtml Table1Content
- tbody' :: Attrs -> XHtml Table2Content -> XHtml Table1Content
- tbody :: XHtml Table2Content -> XHtml Table1Content
- colgroup' :: Attrs -> XHtml TableColContent -> XHtml Table1Content
- colgroup :: XHtml TableColContent -> XHtml Table1Content
- col' :: Attrs -> XHtml TableColContent
- col :: XHtml TableColContent
- tr' :: Attrs -> XHtml Table3Content -> XHtml Table2Content
- tr :: XHtml Table3Content -> XHtml Table2Content
- th' :: Attrs -> XHtml FlowContent -> XHtml Table3Content
- th :: XHtml FlowContent -> XHtml Table3Content
- td' :: Attrs -> XHtml FlowContent -> XHtml Table3Content
- td :: XHtml FlowContent -> XHtml Table3Content
- render :: Content c => XHtml c -> Text
Types
XHtml
Element Types
data FlowContent Source
data InlineContent Source
Misc Element Types
data ObjectContent Source
List Element Types
Field Element Types
data FieldSetContent Source
Table Element Types
Combinators
Document Head
head' :: Attrs -> XHtml HeadContent -> XHtml TopLevelContentSource
title :: Text -> XHtml HeadContentSource
base :: Text -> XHtml HeadContentSource
meta :: Text -> XHtml HeadContentSource
link' :: Attrs -> XHtml HeadContentSource
link :: XHtml HeadContentSource
link
is a bit useless without any attributes, but it's
included anyway for consistency reasons.
Document Body
body' :: Attrs -> XHtml BlockContent -> XHtml TopLevelContentSource
Paragraphs
Headings
Lists
li' :: Attrs -> XHtml FlowContent -> XHtml ListContentSource
li :: XHtml FlowContent -> XHtml ListContentSource
Definition Lists
Address
Horizontal Rule
Preformatted Text
Block-like Quotes
blockquote' :: Block c => Attrs -> XHtml BlockContent -> XHtml cSource
blockquote :: Block c => XHtml BlockContent -> XHtml cSource
Inserted/Deleted Text
The Anchor Element
Inline Elements
Object
param' :: Attrs -> XHtml ObjectContentSource
Images
Client-side image maps
area :: Text -> XHtml MapContentSource
Forms
:: Text | Required label attribute. |
-> Attrs | |
-> XHtml OptionContent | |
-> XHtml OptionContent |
optgroup :: Text -> XHtml OptionContent -> XHtml OptionContentSource
option :: Text -> XHtml OptionContentSource
legend' :: Attrs -> XHtml InlineContent -> XHtml FieldSetContentSource
Tables
caption' :: Attrs -> XHtml InlineContent -> XHtml Table1ContentSource
thead' :: Attrs -> XHtml Table2Content -> XHtml Table1ContentSource
tfoot' :: Attrs -> XHtml Table2Content -> XHtml Table1ContentSource
tbody' :: Attrs -> XHtml Table2Content -> XHtml Table1ContentSource
col' :: Attrs -> XHtml TableColContentSource
tr' :: Attrs -> XHtml Table3Content -> XHtml Table2ContentSource
th' :: Attrs -> XHtml FlowContent -> XHtml Table3ContentSource
td' :: Attrs -> XHtml FlowContent -> XHtml Table3ContentSource