html-1.0.1.2: HTML combinator library

Copyright(c) Andy Gill and OGI, 1999-2001
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerAndy Gill <andy@galconn.com>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Text.Html

Description

An Html combinator library

Documentation

data HtmlAttr Source

Constructors

HtmlAttr String String 

Instances

class HTML a where Source

Minimal complete definition

toHtml

Methods

toHtml :: a -> Html Source

toHtmlFromList :: [a] -> Html Source

class ADDATTRS a where Source

Methods

(!) :: a -> [HtmlAttr] -> a infixl 8 Source

Instances

(<<) :: HTML a => (Html -> b) -> a -> b infixr 7 Source

concatHtml :: HTML a => [a] -> Html Source

(+++) :: (HTML a, HTML b) => a -> b -> Html infixr 2 Source

(</>) :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTable infixr 3 Source

above :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTable Source

(<->) :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTable infixr 4 Source

beside :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTable Source

aboves :: HTMLTABLE ht => [ht] -> HtmlTable Source

debugHtml :: HTML a => a -> Html Source

ordList :: HTML a => [a] -> Html Source

unordList :: HTML a => [a] -> Html Source

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

renderHtml :: HTML html => html -> String Source

prettyHtml :: HTML html => html -> String Source

rmNL :: [Char] -> [Char] Source