ideas-1.1: Feedback services for intelligent tutoring systems

Portabilityportable (depends on ghc)
Stabilityprovisional
Maintainerbastiaan.heeren@ou.nl
Safe HaskellNone

Ideas.Text.XML

Description

A datatype, parser, and pretty printer for XML documents. Re-exports functions defined elsewhere.

Documentation

data Element Source

Constructors

Element 

Instances

class InXML a whereSource

Methods

toXML :: a -> XMLSource

listToXML :: [a] -> XMLSource

fromXML :: Monad m => XML -> m aSource

listFromXML :: Monad m => XML -> m [a]Source

data Attribute Source

Constructors

Name := String 

class Monoid a => BuildXML a whereSource

Methods

(.=.) :: String -> String -> aSource

unescaped :: String -> aSource

builder :: Element -> aSource

tag :: String -> a -> aSource

string :: String -> aSource

text :: Show s => s -> aSource

element :: String -> [a] -> aSource

emptyTag :: String -> aSource

munless :: Monoid a => Bool -> a -> aSource

mwhen :: Monoid a => Bool -> a -> aSource