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 HotLink Source #

data HtmlTree Source #

Instances
HTML HtmlTree Source # 
Instance details

Defined in Text.Html

newtype HtmlTable Source #

Constructors

HtmlTable (BlockTable (Int -> Int -> Html)) 
Instances
Show HtmlTable Source # 
Instance details

Defined in Text.Html

HTMLTABLE HtmlTable Source # 
Instance details

Defined in Text.Html

HTML HtmlTable Source # 
Instance details

Defined in Text.Html

class HTMLTABLE ht where Source #

Minimal complete definition

cell

Methods

cell :: ht -> HtmlTable Source #

Instances
HTMLTABLE HtmlTable Source # 
Instance details

Defined in Text.Html

HTMLTABLE Html Source # 
Instance details

Defined in Text.Html

Methods

cell :: Html -> HtmlTable Source #

class ADDATTRS a where Source #

Minimal complete definition

(!)

Methods

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

Instances
ADDATTRS Html Source # 
Instance details

Defined in Text.Html

Methods

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

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

Defined in Text.Html

Methods

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

class HTML a where Source #

Minimal complete definition

toHtml

Methods

toHtml :: a -> Html Source #

toHtmlFromList :: [a] -> Html Source #

Instances
HTML Char Source # 
Instance details

Defined in Text.Html

HTML HotLink Source # 
Instance details

Defined in Text.Html

HTML HtmlTree Source # 
Instance details

Defined in Text.Html

HTML HtmlTable Source # 
Instance details

Defined in Text.Html

HTML Html Source # 
Instance details

Defined in Text.Html

HTML a => HTML [a] Source # 
Instance details

Defined in Text.Html

Methods

toHtml :: [a] -> Html Source #

toHtmlFromList :: [[a]] -> Html Source #

newtype Html Source #

Constructors

Html 
Instances
Show Html Source # 
Instance details

Defined in Text.Html

Methods

showsPrec :: Int -> Html -> ShowS #

show :: Html -> String #

showList :: [Html] -> ShowS #

HTMLTABLE Html Source # 
Instance details

Defined in Text.Html

Methods

cell :: Html -> HtmlTable Source #

ADDATTRS Html Source # 
Instance details

Defined in Text.Html

Methods

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

HTML Html Source # 
Instance details

Defined in Text.Html

data HtmlAttr Source #

Constructors

HtmlAttr String String 
Instances
Show HtmlAttr Source # 
Instance details

Defined in Text.Html

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

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

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

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

(<->) :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTable infixr 4 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 #