HaXml-1.22.5: Utilities for manipulating XML documents

Text.XML.HaXml.Schema.PrimitiveTypes

Contents

Synopsis

Type class for parsing simpleTypes

module Text.Parse

Primitive XSD datatypes

type Boolean = Bool

data Float

Single-precision floating point numbers. It is desirable that this type be at least equal in range and precision to the IEEE single-precision type.

data Double

Double-precision floating point numbers. It is desirable that this type be at least equal in range and precision to the IEEE double-precision type.

data QName

A QName is a (possibly) qualified name, in the sense of XML namespaces.

Constructors

N Name 
QN Namespace Name 

Instances

data Time

Constructors

Time 

data Date

Constructors

Date 

data GYear

Constructors

GYear 

data GDay

Constructors

GDay 

Derived, yet builtin, datatypes

newtype Token

Constructors

Token String 

newtype Name

Constructors

Name String 

newtype ID

Constructors

ID String 

newtype IDREF

Constructors

IDREF String 

newtype Long

Constructors

Long Int64 

data Int

A fixed-precision integer type with at least the range [-2^29 .. 2^29-1]. The exact range for a given implementation can be determined by using Prelude.minBound and Prelude.maxBound from the Prelude.Bounded class.

newtype Short

Constructors

Short Int16 

newtype Byte

Constructors

Byte Int8