Text.Html

| Haskell Core Libraries (base package) | Parent | Contents | Index
Text.Html |
Portability | portable
Stability | experimental
Maintainer | Andy Gill <andy@galconn.com>
Description
An Html combinator library
class ADDATTRS a where
Methods
(!) :: a -> [HtmlAttr] -> a
Instances
(ADDATTRS b) => ADDATTRS (a -> b)
ADDATTRS Html
class HTML a where
Methods
toHtmlFromList :: [a] -> Html
toHtml :: a -> Html
Instances
HTML Html
HTML Char
(HTML a) => HTML [a]
HTML HtmlTable
HTML HtmlTree
HTML HotLink
class HTMLTABLE ht where
Methods
cell :: ht -> HtmlTable
Instances
HTMLTABLE HtmlTable
HTMLTABLE Html
data HotLink
Constructors
HotLink |
hotLinkURL :: URL |
hotLinkContents :: [Html] |
hotLinkAttributes :: [HtmlAttr] |
Instances
HTML HotLink
newtype Html
Constructors
Html |
getHtmlElements :: [HtmlElement] |
Instances
HTML Html
ADDATTRS Html
Show Html
HTMLTABLE Html
data HtmlAttr
Constructors
HtmlAttr String String |
Instances
Show HtmlAttr
data HtmlElement
Constructors
HtmlString String |
HtmlTag |
markupTag :: String |
markupAttrs :: [HtmlAttr] |
markupContent :: Html |
newtype HtmlTable
Constructors
HtmlTable (BlockTable (Int -> Int -> Html)) |
Instances
HTMLTABLE HtmlTable
HTML HtmlTable
Show HtmlTable
data HtmlTree
Constructors
HtmlLeaf Html |
HtmlNode Html [HtmlTree] Html |
Instances
HTML HtmlTree
type URL = String
data HotLink
Constructors
HotLink |
hotLinkURL :: URL |
hotLinkContents :: [Html] |
hotLinkAttributes :: [HtmlAttr] |
newtype Html
Constructors
Html |
getHtmlElements :: [HtmlElement] |
data HtmlAttr
Constructors
HtmlAttr String String |
data HtmlTree
Constructors
HtmlLeaf Html |
HtmlNode Html [HtmlTree] Html |
data HtmlTree
Constructors
HtmlLeaf Html |
HtmlNode Html [HtmlTree] Html |
data HtmlElement
Constructors
HtmlString String |
HtmlTag |
markupTag :: String |
markupAttrs :: [HtmlAttr] |
markupContent :: Html |
newtype HtmlTable
Constructors
HtmlTable (BlockTable (Int -> Int -> Html)) |
data HtmlElement
Constructors
HtmlString String |
HtmlTag |
markupTag :: String |
markupAttrs :: [HtmlAttr] |
markupContent :: Html |
above :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTable
aboves :: (HTMLTABLE ht) => [ht] -> HtmlTable
action :: String -> HtmlAttr
address :: Html -> Html
afile :: String -> Html
align :: String -> HtmlAttr
alink :: String -> HtmlAttr
alt :: String -> HtmlAttr
altcode :: String -> HtmlAttr
anchor :: Html -> Html
applet :: Html -> Html
aqua :: String
archive :: String -> HtmlAttr
area :: Html
background :: String -> HtmlAttr
base :: String -> HtmlAttr
basefont :: Html
beside :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTable
besides :: (HTMLTABLE ht) => [ht] -> HtmlTable
bgcolor :: String -> HtmlAttr
big :: Html -> Html
black :: String
blockquote :: Html -> Html
blue :: String
body :: Html -> Html
bold :: Html -> Html
border :: Int -> HtmlAttr
bordercolor :: String -> HtmlAttr
br :: Html
bullet :: Html
caption :: Html -> Html
class HTMLTABLE ht where
Methods
cell :: ht -> HtmlTable
cellpadding :: Int -> HtmlAttr
cellspacing :: Int -> HtmlAttr
center :: Html -> Html
checkbox :: String -> String -> Html
checked :: HtmlAttr
cite :: Html -> Html
clear :: String -> HtmlAttr
clickmap :: String -> Html
code :: String -> HtmlAttr
codebase :: String -> HtmlAttr
color :: String -> HtmlAttr
cols :: String -> HtmlAttr
colspan :: Int -> HtmlAttr
compact :: HtmlAttr
concatHtml :: (HTML a) => [a] -> Html
content :: String -> HtmlAttr
coords :: String -> HtmlAttr
copyright :: Html
ddef :: Html -> Html
debugHtml :: (HTML a) => a -> Html
defList :: (HTML a, HTML b) => [(a, b)] -> Html
define :: Html -> Html
dlist :: Html -> Html
dterm :: Html -> Html
emphasize :: Html -> Html
emptyAttr :: String -> HtmlAttr
enctype :: String -> HtmlAttr
face :: String -> HtmlAttr
fieldset :: Html -> Html
font :: Html -> Html
form :: Html -> Html
frame :: Html -> Html
frameborder :: Int -> HtmlAttr
frameset :: Html -> Html
fuchsia :: String
newtype Html
Constructors
Html |
getHtmlElements :: [HtmlElement] |
gray :: String
green :: String
gui :: String -> Html -> Html
h1 :: Html -> Html
h2 :: Html -> Html
h3 :: Html -> Html
h4 :: Html -> Html
h5 :: Html -> Html
h6 :: Html -> Html
header :: Html -> Html
height :: Int -> HtmlAttr
hidden :: String -> String -> Html
data HotLink
Constructors
HotLink |
hotLinkURL :: URL |
hotLinkContents :: [Html] |
hotLinkAttributes :: [HtmlAttr] |
data HotLink
Constructors
HotLink |
hotLinkURL :: URL |
hotLinkContents :: [Html] |
hotLinkAttributes :: [HtmlAttr] |
data HotLink
Constructors
HotLink |
hotLinkURL :: URL |
hotLinkContents :: [Html] |
hotLinkAttributes :: [HtmlAttr] |
hotlink :: URL -> [Html] -> HotLink
hr :: Html
href :: String -> HtmlAttr
hspace :: Int -> HtmlAttr
httpequiv :: String -> HtmlAttr
identifier :: String -> HtmlAttr
image :: Html
input :: Html
intAttr :: String -> Int -> HtmlAttr
ismap :: HtmlAttr
itag :: String -> Html
italics :: Html -> Html
keyboard :: Html -> Html
lang :: String -> HtmlAttr
legend :: Html -> Html
li :: Html -> Html
lime :: String
lineToHtml :: String -> Html
linesToHtml :: [String] -> Html
link :: String -> HtmlAttr
marginheight :: Int -> HtmlAttr
marginwidth :: Int -> HtmlAttr
data HtmlElement
Constructors
HtmlString String |
HtmlTag |
markupTag :: String |
markupAttrs :: [HtmlAttr] |
markupContent :: Html |
data HtmlElement
Constructors
HtmlString String |
HtmlTag |
markupTag :: String |
markupAttrs :: [HtmlAttr] |
markupContent :: Html |
data HtmlElement
Constructors
HtmlString String |
HtmlTag |
markupTag :: String |
markupAttrs :: [HtmlAttr] |
markupContent :: Html |
maroon :: String
maxlength :: Int -> HtmlAttr
menu :: String -> [Html] -> Html
meta :: Html
method :: String -> HtmlAttr
mkHtmlTable :: BlockTable (Int -> Int -> Html) -> HtmlTable
multiple :: HtmlAttr
name :: String -> HtmlAttr
navy :: String
noHtml :: Html
noframes :: Html -> Html
nohref :: HtmlAttr
noresize :: HtmlAttr
noshade :: HtmlAttr
nowrap :: HtmlAttr
olist :: Html -> Html
olive :: String
option :: Html -> Html
ordList :: (HTML a) => [a] -> Html
p :: Html -> Html
paragraph :: Html -> Html
param :: Html
password :: String -> Html
pre :: Html -> Html
prettyHtml :: (HTML html) => html -> String
prettyHtml' :: HtmlElement -> [String]
primHtml :: String -> Html
primHtmlChar :: String -> Html
purple :: String
radio :: String -> String -> Html
red :: String
rel :: String -> HtmlAttr
renderHtml :: (HTML html) => html -> String
renderHtml' :: Int -> HtmlElement -> ShowS
renderTable :: BlockTable (Int -> Int -> Html) -> Html
renderTag :: Bool -> String -> [HtmlAttr] -> Int -> ShowS
reset :: String -> String -> Html
rev :: String -> HtmlAttr
rows :: String -> HtmlAttr
rowspan :: Int -> HtmlAttr
rules :: String -> HtmlAttr
sample :: Html -> Html
scrolling :: String -> HtmlAttr
select :: Html -> Html
selected :: HtmlAttr
shape :: String -> HtmlAttr
silver :: String
simpleTable :: [HtmlAttr] -> [HtmlAttr] -> [[Html]] -> Html
size :: String -> HtmlAttr
small :: Html -> Html
spaceHtml :: Html
src :: String -> HtmlAttr
start :: Int -> HtmlAttr
strAttr :: String -> String -> HtmlAttr
stringToHtml :: String -> Html
stringToHtmlString :: String -> String
strong :: Html -> Html
style :: Html -> Html
sub :: Html -> Html
submit :: String -> String -> Html
sup :: Html -> Html
table :: Html -> Html
tag :: String -> Html -> Html
target :: String -> HtmlAttr
td :: Html -> Html
teal :: String
text :: String -> HtmlAttr
textarea :: Html -> Html
textfield :: String -> Html
th :: Html -> Html
thebase :: Html
theclass :: String -> HtmlAttr
thecode :: Html -> Html
thediv :: Html -> Html
thehtml :: Html -> Html
thelink :: Html -> Html
themap :: Html -> Html
thespan :: Html -> Html
thestyle :: String -> HtmlAttr
thetitle :: Html -> Html
thetype :: String -> HtmlAttr
title :: String -> HtmlAttr
class HTML a where
Methods
toHtmlFromList :: [a] -> Html
toHtml :: a -> Html
class HTML a where
Methods
toHtmlFromList :: [a] -> Html
toHtml :: a -> Html
tr :: Html -> Html
treeHtml :: [String] -> HtmlTree -> Html
tt :: Html -> Html
ulist :: Html -> Html
underline :: Html -> Html
unordList :: (HTML a) => [a] -> Html
usemap :: String -> HtmlAttr
validHtmlAttrs :: [String]
validHtmlITags :: [String]
validHtmlTags :: [String]
valign :: String -> HtmlAttr
value :: String -> HtmlAttr
variable :: Html -> Html
version :: String -> HtmlAttr
vlink :: String -> HtmlAttr
vspace :: Int -> HtmlAttr
white :: String
widget :: String -> String -> [HtmlAttr] -> Html
width :: String -> HtmlAttr
yellow :: String
class ADDATTRS a where
Methods
(!) :: a -> [HtmlAttr] -> a
(+++) :: (HTML a, HTML b) => a -> b -> Html
(<->) :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTable
(</>) :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTable
(<<) :: (HTML a) => (Html -> b) -> a -> b
Produced by Haddock version 0.3