WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.

WASH.HTML.HTMLBase

Synopsis

Documentation

data BT Source

Constructors

STATIC 
DYNAMIC 
TOPLEVEL 

data ATTR_ Source

Constructors

ATTR_ 

Instances

Show ATTR_

Takes element and attribute. Attaches attribute to the element. Replaces prior attribute with same name.

data ELEMENT_ Source

Constructors

ELEMENT_ 

Fields

elem_BT :: BT
 
tag :: String
 
attrs :: [ATTR_]
 
elems :: [ELEMENT_]
 
EMPTY_ 

Fields

elem_BT :: BT
 
tag :: String
 
attrs :: [ATTR_]
 
CDATA_ 

Fields

elem_BT :: BT
 
elem_cdata :: String
 
COMMENT_ 

Fields

elem_BT :: BT
 
elem_comment :: String
 
DOCTYPE_ 

Fields

elem_BT :: BT
 
doctype :: [String]
 
elems :: [ELEMENT_]
 

commentEncode :: String -> ShowSSource

removes illegal characters and sequences of -- from comment