xhtml-combinators-0.1: Fast and easy to use XHTML combinators.

Text.XHtmlCombinators.Internal

Documentation

type Attrs = [Attr]Source

data Attr Source

Constructors

Attr Text Text 

Instances

first :: Seq a -> aSource

node :: Content e => Text -> Attrs -> Attrs -> XHtml e -> NodeSource

type XHtmlM x a = Writer (Seq x) aSource

type XHtml x = XHtmlM x ()Source

tellS :: x -> XHtml xSource

tellTextNode :: (Node -> e) -> Text -> Attrs -> Attrs -> Text -> XHtml eSource

tellEmptyNode :: (Node -> e) -> Text -> Attrs -> Attrs -> XHtml eSource

tellNode :: Content a => (Node -> b) -> Text -> Attrs -> Attrs -> XHtml a -> XHtml bSource