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 <[email protected]>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

Text.Html

Description

An Html combinator library

Documentation

class ADDATTRS a where Source #

Methods

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

Instances

Instances details
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 #

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

newtype Html Source #

Constructors

Html 

Instances

Instances details
Show Html Source # 
Instance details

Defined in Text.Html

Methods

showsPrec :: Int -> Html -> ShowS #

show :: Html -> String #

showList :: [Html] -> ShowS #

ADDATTRS Html Source # 
Instance details

Defined in Text.Html

Methods

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

HTML Html Source # 
Instance details

Defined in Text.Html

HTMLTABLE Html Source # 
Instance details

Defined in Text.Html

Methods

cell :: Html -> HtmlTable Source #

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

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

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

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

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

data HtmlAttr Source #

Constructors

HtmlAttr String String 

Instances

Instances details
Show HtmlAttr Source # 
Instance details

Defined in Text.Html

class HTML a where Source #

Minimal complete definition

toHtml

Methods

toHtml :: a -> Html Source #

toHtmlFromList :: [a] -> Html Source #

Instances

Instances details
HTML HotLink Source # 
Instance details

Defined in Text.Html

HTML Html Source # 
Instance details

Defined in Text.Html

HTML HtmlTable Source # 
Instance details

Defined in Text.Html

HTML HtmlTree Source # 
Instance details

Defined in Text.Html

HTML Char 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 #

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

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

class HTMLTABLE ht where Source #

Methods

cell :: ht -> HtmlTable Source #

Instances

Instances details
HTMLTABLE Html Source # 
Instance details

Defined in Text.Html

Methods

cell :: Html -> HtmlTable Source #

HTMLTABLE HtmlTable Source # 
Instance details

Defined in Text.Html

newtype HtmlTable Source #

Constructors

HtmlTable (BlockTable (Int -> Int -> Html)) 

Instances

Instances details
Show HtmlTable Source # 
Instance details

Defined in Text.Html

HTML HtmlTable Source # 
Instance details

Defined in Text.Html

HTMLTABLE HtmlTable Source # 
Instance details

Defined in Text.Html

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

data HtmlTree Source #

Instances

Instances details
HTML HtmlTree Source # 
Instance details

Defined in Text.Html

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

data HotLink Source #

Instances

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 #

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