HaXml-1.25.3: Utilities for manipulating XML documents

Safe HaskellSafe-Inferred
LanguageHaskell98

Text.XML.HaXml.Schema.PrimitiveTypes

Contents

Synopsis

Type class for parsing simpleTypes

module Text.Parse

Primitive XSD datatypes

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 Source

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

Constructors

N Name 
QN Namespace Name 

Instances

data Time Source

Constructors

Time String 

data Date Source

Constructors

Date String 

data GDay Source

Constructors

GDay String 

Derived, yet builtin, datatypes

newtype Name Source

Constructors

Name String 

newtype ID Source

Constructors

ID String 

newtype Long Source

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 minBound and maxBound from the Bounded class.

newtype Short Source

Constructors

Short Int16 

newtype Byte Source

Constructors

Byte Int8