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

newtype Html Source #

Constructors

Html 

class ADDATTRS a where Source #

Minimal complete definition

(!)

Methods

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

Instances

ADDATTRS Html Source # 

Methods

(!) :: Html -> [HtmlAttr] -> Html Source #

ADDATTRS b => ADDATTRS (a -> b) Source # 

Methods

(!) :: (a -> b) -> [HtmlAttr] -> a -> b Source #

(<<) :: 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 #

class HTMLTABLE ht where Source #

Minimal complete definition

cell

Methods

cell :: ht -> HtmlTable 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 #