HaXml-1.25.11: 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
Show Restrict Source # 
Instance details

Defined in Text.XML.HaXml.Schema.HaskellTypeModel

Eq Restrict Source # 
Instance details

Defined in Text.XML.HaXml.Schema.HaskellTypeModel

data Modifier Source #

Constructors

Single 
Optional 
Range Occurs 

Instances

Instances details
Show Modifier Source # 
Instance details

Defined in Text.XML.HaXml.Schema.HaskellTypeModel

Eq Modifier Source # 
Instance details

Defined in Text.XML.HaXml.Schema.HaskellTypeModel

data Attribute Source #

Instances

Instances details
Show Attribute Source # 
Instance details

Defined in Text.XML.HaXml.Schema.HaskellTypeModel

Eq 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.