html-1.0.1.2: HTML combinator library

Portabilityportable
Stabilityprovisional
MaintainerAndy Gill <andy@galconn.com>

Text.Html

Description

An Html combinator library

Documentation

data HtmlAttr Source

Constructors

HtmlAttr String String 

Instances

newtype Html Source

Constructors

Html 

class HTML a whereSource

Methods

toHtml :: a -> HtmlSource

toHtmlFromList :: [a] -> HtmlSource

class ADDATTRS a whereSource

Methods

(!) :: a -> [HtmlAttr] -> aSource

Instances

ADDATTRS Html 
ADDATTRS b => ADDATTRS (a -> b) 

(<<) :: HTML a => (Html -> b) -> a -> bSource

concatHtml :: HTML a => [a] -> HtmlSource

(+++) :: (HTML a, HTML b) => a -> b -> HtmlSource

class HTMLTABLE ht whereSource

Methods

cell :: ht -> HtmlTableSource

(</>), beside, (<->), above :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTableSource

ordList :: HTML a => [a] -> HtmlSource

unordList :: HTML a => [a] -> HtmlSource

defList :: (HTML a, HTML b) => [(a, b)] -> HtmlSource

renderHtml :: HTML html => html -> StringSource

prettyHtml :: HTML html => html -> StringSource