haskoon-0.3.1.1: Web Application Abstraction

Factis.Haskoon.WebHsp

Synopsis

Documentation

type HSPT m = XMLGenT (HSPT' m)

data XML

The XML datatype representation. Is either an Element or CDATA.

Instances

data family Child m

genElement :: XMLGen m => Name -> [XMLGenT m [Attribute m]] -> [XMLGenT m [Child m]] -> XMLGenT m (XML m)

genEElement :: XMLGen m => Name -> [XMLGenT m [Attribute m]] -> XMLGenT m (XML m)

data Attr n a

Constructors

n := a 

Instances

(IsName n, IsAttrNodeValue a) => EmbedAsAttr HJScript' (Attr n a) 
(IsName n, IsAttrValue m a) => EmbedAsAttr (HSPT' m) (Attr n a) 
(Show n, Show a) => Show (Attr n a) 

webHspHtml :: WebIO m => HSPT m XML -> m (WebRes m)Source

webToHsp :: Web m => m a -> HSPT m aSource