WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.
Source code
Contents
Index
WASH.HTML.HTMLBase
Synopsis
data
BT
=
STATIC
|
DYNAMIC
|
TOPLEVEL
data
ATTR_
=
ATTR_
{
attr_BT
::
BT
attr_value_BT
::
BT
attr_name
::
String
attr_value
::
String
}
data
ELEMENT_
=
ELEMENT_
{
elem_BT
::
BT
tag
::
String
attrs
:: [
ATTR_
]
elems
:: [
ELEMENT_
]
}
|
EMPTY_
{
elem_BT
::
BT
tag
::
String
attrs
:: [
ATTR_
]
}
|
CDATA_
{
elem_BT
::
BT
elem_cdata
::
String
}
|
COMMENT_
{
elem_BT
::
BT
elem_comment
::
String
}
|
DOCTYPE_
{
elem_BT
::
BT
doctype
:: [
String
]
elems
:: [
ELEMENT_
]
}
data
CDATA_OPTIONS
=
CDATA_ENCODED
|
CDATA_FORMATTED
shows_attributes
:: [
ATTR_
] ->
ShowS
shows_attribute
::
ATTR_
->
ShowS
shows_elements
:: [
ELEMENT_
] ->
ShowS
shows_element
::
ELEMENT_
->
ShowS
commentEncode
::
String
->
ShowS
htmlEncode
::
String
->
String
htmlAttr
::
String
->
ShowS
Documentation
data
BT
Source
Constructors
STATIC
DYNAMIC
TOPLEVEL
data
ATTR_
Source
Constructors
ATTR_
attr_BT
::
BT
attr_value_BT
::
BT
attr_name
::
String
attr_value
::
String
data
ELEMENT_
Source
Constructors
ELEMENT_
elem_BT
::
BT
tag
::
String
attrs
:: [
ATTR_
]
elems
:: [
ELEMENT_
]
EMPTY_
elem_BT
::
BT
tag
::
String
attrs
:: [
ATTR_
]
CDATA_
elem_BT
::
BT
elem_cdata
::
String
COMMENT_
elem_BT
::
BT
elem_comment
::
String
DOCTYPE_
elem_BT
::
BT
doctype
:: [
String
]
elems
:: [
ELEMENT_
]
data
CDATA_OPTIONS
Source
Constructors
CDATA_ENCODED
CDATA_FORMATTED
shows_attributes
:: [
ATTR_
] ->
ShowS
Source
shows_attribute
::
ATTR_
->
ShowS
Source
shows_elements
:: [
ELEMENT_
] ->
ShowS
Source
shows_element
::
ELEMENT_
->
ShowS
Source
commentEncode
::
String
->
ShowS
Source
removes illegal characters and sequences of -- from comment
htmlEncode
::
String
->
String
Source
htmlAttr
::
String
->
ShowS
Source
Produced by
Haddock
version 2.6.0