ideas-1.7: Feedback services for intelligent tutoring systems

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

Ideas.Text.XML

Description

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

Synopsis

Documentation

data Element Source #

Constructors

Element 

Instances

class InXML a where Source #

Minimal complete definition

toXML, fromXML

Methods

toXML :: a -> XML Source #

listToXML :: [a] -> XML Source #

fromXML :: Monad m => XML -> m a Source #

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

data Attribute Source #

Constructors

Name := String 

(<>) :: Semigroup a => a -> a -> a infixr 6 #

An associative operation.

(a <> b) <> c = a <> (b <> c)

If a is also a Monoid we further require

(<>) = mappend

munless :: Monoid a => Bool -> a -> a Source #

mwhen :: Monoid a => Bool -> a -> a Source #