XmlHtmlWriter-0.0.0.1: A library for writing XML and HTML

Portabilityprobable
Stabilityexperimental
Maintainermmirman@andrew.cmu.edu
Safe HaskellNone

Language.XmlHtml.XmlWriter

Description

The xml writer.

Synopsis

Documentation

void :: Monad m => m a -> m ()Source

writeString :: MonadWriter w m => w -> m ()Source

writeString s writes a string to the html writer monad

makeXml :: Printable a b => a -> IO StringSource

makeHtml s currently just converts this into a string

data Param a b whereSource

Constructors

Param :: Printable a b => [HtmlAttr] -> a -> Param a b 

data Elem a b whereSource

Constructors

Elem :: Printable a b => String -> a -> Elem a b 

data HtmlAttr Source

Constructors

Attr String String 

Instances

showMiddle :: Show a => [a] -> [Char]Source

tag :: (Printable a b1, Printable (Elem a b1) b) => String -> a -> HtmlWriter ()Source