HaXml-1.25.8: Utilities for manipulating XML documents
Safe HaskellSafe-Inferred
LanguageHaskell98

Text.XML.HaXml.Schema.HaskellTypeModel

Description

A type model for Haskell datatypes that bears a reasonable correspondence to the XSD type model.

Synopsis

Documentation

data Restrict Source #

Restrictions on simpleType

Instances

Instances details
Eq Restrict Source # 
Instance details

Defined in Text.XML.HaXml.Schema.HaskellTypeModel

Show Restrict Source # 
Instance details

Defined in Text.XML.HaXml.Schema.HaskellTypeModel

data Modifier Source #

Constructors

Single 
Optional 
Range Occurs 

Instances

Instances details
Eq Modifier Source # 
Instance details

Defined in Text.XML.HaXml.Schema.HaskellTypeModel

Show Modifier Source # 
Instance details

Defined in Text.XML.HaXml.Schema.HaskellTypeModel

data Attribute Source #

Instances

Instances details
Eq Attribute Source # 
Instance details

Defined in Text.XML.HaXml.Schema.HaskellTypeModel

Show Attribute Source # 
Instance details

Defined in Text.XML.HaXml.Schema.HaskellTypeModel

data Module Source #

The whole Haskell module.

type Comment = Maybe String Source #

Comments can be attached to most things, but not all of them will exist.

mkModule :: String -> Schema -> [Decl] -> Module Source #

A helper for building the formal Module structure.