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

WASH.HTML.HTMLTemplates

Synopsis

Documentation

data ST s a Source

Constructors

ST 

Fields

unST :: s -> (a, s)
 

Instances

Monad (ST s) 

runST :: s -> ST s a -> aSource

setST :: s -> ST s ()Source

data Names Source

Constructors

Names 

Fields

ntable :: [(String, Int)]
 
nseen :: [Int]
 

data Mt Source

Constructors

Mt 

Instances

data M a Source

Constructors

M 

Fields

unM :: Mt -> (a, Mt)
 

Instances

get :: (Mt -> x) -> M xSource

collect :: ELEMENT_ -> BT -> Template -> M TemplateSource

collect takes an element, a list of open templates, a list of finished templates, and returns a pair (open templates, finished templates).