Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Text.XML.HaXml.Schema.PrimitiveTypes
Synopsis
- class SimpleType a where
- acceptingParser :: TextParser a
- simpleTypeText :: a -> String
- newtype XsdString = XsdString String
- type Boolean = Bool
- data Base64Binary = Base64Binary String
- data HexBinary = HexBinary String
- data Float
- data Decimal = Decimal Double
- data Double
- data AnyURI = AnyURI String
- data QName
- data NOTATION = NOTATION String
- data Duration = Duration Bool Int Int Int Int Int Float
- data DateTime = DateTime String
- data Time = Time String
- data Date = Date String
- data GYearMonth = GYearMonth String
- data GYear = GYear String
- data GMonthDay = GMonthDay String
- data GDay = GDay String
- data GMonth = GMonth String
- newtype NormalizedString = Normalized String
- newtype Token = Token String
- newtype Language = Language String
- newtype Name = Name String
- newtype NCName = NCName String
- newtype ID = ID String
- newtype IDREF = IDREF String
- newtype IDREFS = IDREFS String
- newtype ENTITY = ENTITY String
- newtype ENTITIES = ENTITIES String
- newtype NMTOKEN = NMTOKEN String
- newtype NMTOKENS = NMTOKENS String
- data Integer
- newtype NonPositiveInteger = NonPos Integer
- newtype NegativeInteger = Negative Integer
- newtype Long = Long Int64
- data Int
- newtype Short = Short Int16
- newtype Byte = Byte Int8
- newtype NonNegativeInteger = NonNeg Integer
- newtype UnsignedLong = ULong Word64
- newtype UnsignedInt = UInt Word32
- newtype UnsignedShort = UShort Word16
- newtype UnsignedByte = UByte Word8
- newtype PositiveInteger = Positive Integer
Type class for parsing simpleTypes
class SimpleType a where Source #
Ultimately, an XML parser will find some plain text as the content of a simpleType, which will need to be parsed. We use a TextParser, because values of simpleTypes can also be given elsewhere, e.g. as attribute values in an XSD definition, e.g. to restrict the permissible values of the simpleType. Such restrictions are therefore implemented as layered parsers.
Instances
Primitive XSD datatypes
Constructors
XsdString String |
Instances
SimpleType XsdString Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser XsdString Source # simpleTypeText :: XsdString -> String Source # | |
SchemaType XsdString Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser XsdString Source # schemaTypeToXML :: String -> XsdString -> [Content ()] Source # | |
Show XsdString Source # | |
Eq XsdString Source # | |
data Base64Binary Source #
Constructors
Base64Binary String |
Instances
SimpleType Base64Binary Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser Base64Binary Source # simpleTypeText :: Base64Binary -> String Source # | |
SchemaType Base64Binary Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Base64Binary Source # schemaTypeToXML :: String -> Base64Binary -> [Content ()] Source # | |
Show Base64Binary Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods showsPrec :: Int -> Base64Binary -> ShowS show :: Base64Binary -> String showList :: [Base64Binary] -> ShowS | |
Eq Base64Binary Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes |
Constructors
HexBinary String |
Instances
SimpleType HexBinary Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser HexBinary Source # simpleTypeText :: HexBinary -> String Source # | |
SchemaType HexBinary Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser HexBinary Source # schemaTypeToXML :: String -> HexBinary -> [Content ()] Source # | |
Show HexBinary Source # | |
Eq HexBinary Source # | |
Instances
SimpleType Float Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Float Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Float Source # schemaTypeToXML :: String -> Float -> [Content ()] Source # | |
HTypeable Float Source # | |
XmlContent Float Source # | |
Floating Float | |
RealFloat Float | |
Defined in GHC.Float Methods floatRadix :: Float -> Integer floatDigits :: Float -> Int floatRange :: Float -> (Int, Int) decodeFloat :: Float -> (Integer, Int) encodeFloat :: Integer -> Int -> Float significand :: Float -> Float scaleFloat :: Int -> Float -> Float isInfinite :: Float -> Bool isDenormalized :: Float -> Bool isNegativeZero :: Float -> Bool | |
Read Float | |
Eq Float | |
Ord Float | |
Parse Float | |
Generic1 (URec Float :: k -> Type) | |
Foldable (UFloat :: Type -> Type) | |
Defined in Data.Foldable Methods fold :: Monoid m => UFloat m -> m foldMap :: Monoid m => (a -> m) -> UFloat a -> m foldMap' :: Monoid m => (a -> m) -> UFloat a -> m foldr :: (a -> b -> b) -> b -> UFloat a -> b foldr' :: (a -> b -> b) -> b -> UFloat a -> b foldl :: (b -> a -> b) -> b -> UFloat a -> b foldl' :: (b -> a -> b) -> b -> UFloat a -> b foldr1 :: (a -> a -> a) -> UFloat a -> a foldl1 :: (a -> a -> a) -> UFloat a -> a toList :: UFloat a -> [a] null :: UFloat a -> Bool elem :: Eq a => a -> UFloat a -> Bool maximum :: Ord a => UFloat a -> a minimum :: Ord a => UFloat a -> a sum :: Num a => UFloat a -> a product :: Num a => UFloat a -> a | |
Traversable (UFloat :: Type -> Type) | |
Defined in Data.Traversable | |
Functor (URec Float :: Type -> Type) | |
Generic (URec Float p) | |
Show (URec Float p) | |
Eq (URec Float p) | |
Ord (URec Float p) | |
Defined in GHC.Generics | |
data URec Float (p :: k) | |
Defined in GHC.Generics | |
type Rep1 (URec Float :: k -> Type) | |
Defined in GHC.Generics type Rep1 (URec Float :: k -> Type) = D1 ('MetaData "URec" "GHC.Generics" "base" 'False) (C1 ('MetaCons "UFloat" 'PrefixI 'True) (S1 ('MetaSel ('Just "uFloat#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UFloat :: k -> Type))) | |
type Rep (URec Float p) | |
Defined in GHC.Generics type Rep (URec Float p) = D1 ('MetaData "URec" "GHC.Generics" "base" 'False) (C1 ('MetaCons "UFloat" 'PrefixI 'True) (S1 ('MetaSel ('Just "uFloat#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UFloat :: Type -> Type))) |
Instances
SimpleType Decimal Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Decimal Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Decimal Source # schemaTypeToXML :: String -> Decimal -> [Content ()] Source # | |
Show Decimal Source # | |
Eq Decimal Source # | |
Instances
SimpleType Double Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Double Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Double Source # schemaTypeToXML :: String -> Double -> [Content ()] Source # | |
HTypeable Double Source # | |
XmlContent Double Source # | |
Floating Double | |
RealFloat Double | |
Defined in GHC.Float Methods floatRadix :: Double -> Integer floatDigits :: Double -> Int floatRange :: Double -> (Int, Int) decodeFloat :: Double -> (Integer, Int) encodeFloat :: Integer -> Int -> Double significand :: Double -> Double scaleFloat :: Int -> Double -> Double isInfinite :: Double -> Bool isDenormalized :: Double -> Bool isNegativeZero :: Double -> Bool | |
Read Double | |
Eq Double | |
Ord Double | |
Parse Double | |
Generic1 (URec Double :: k -> Type) | |
Foldable (UDouble :: Type -> Type) | |
Defined in Data.Foldable Methods fold :: Monoid m => UDouble m -> m foldMap :: Monoid m => (a -> m) -> UDouble a -> m foldMap' :: Monoid m => (a -> m) -> UDouble a -> m foldr :: (a -> b -> b) -> b -> UDouble a -> b foldr' :: (a -> b -> b) -> b -> UDouble a -> b foldl :: (b -> a -> b) -> b -> UDouble a -> b foldl' :: (b -> a -> b) -> b -> UDouble a -> b foldr1 :: (a -> a -> a) -> UDouble a -> a foldl1 :: (a -> a -> a) -> UDouble a -> a toList :: UDouble a -> [a] null :: UDouble a -> Bool elem :: Eq a => a -> UDouble a -> Bool maximum :: Ord a => UDouble a -> a minimum :: Ord a => UDouble a -> a sum :: Num a => UDouble a -> a product :: Num a => UDouble a -> a | |
Traversable (UDouble :: Type -> Type) | |
Defined in Data.Traversable | |
Functor (URec Double :: Type -> Type) | |
Generic (URec Double p) | |
Show (URec Double p) | |
Eq (URec Double p) | |
Ord (URec Double p) | |
Defined in GHC.Generics | |
data URec Double (p :: k) | |
Defined in GHC.Generics | |
type Rep1 (URec Double :: k -> Type) | |
Defined in GHC.Generics type Rep1 (URec Double :: k -> Type) = D1 ('MetaData "URec" "GHC.Generics" "base" 'False) (C1 ('MetaCons "UDouble" 'PrefixI 'True) (S1 ('MetaSel ('Just "uDouble#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UDouble :: k -> Type))) | |
type Rep (URec Double p) | |
Defined in GHC.Generics type Rep (URec Double p) = D1 ('MetaData "URec" "GHC.Generics" "base" 'False) (C1 ('MetaCons "UDouble" 'PrefixI 'True) (S1 ('MetaSel ('Just "uDouble#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UDouble :: Type -> Type))) |
Constructors
AnyURI String |
Instances
SimpleType AnyURI Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType AnyURI Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser AnyURI Source # schemaTypeToXML :: String -> AnyURI -> [Content ()] Source # | |
Show AnyURI Source # | |
Eq AnyURI Source # | |
A QName is a (possibly) qualified name, in the sense of XML namespaces.
Constructors
NOTATION String |
Instances
SimpleType NOTATION Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType NOTATION Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NOTATION Source # schemaTypeToXML :: String -> NOTATION -> [Content ()] Source # | |
Show NOTATION Source # | |
Eq NOTATION Source # | |
Instances
SimpleType Duration Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Duration Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Duration Source # schemaTypeToXML :: String -> Duration -> [Content ()] Source # | |
Show Duration Source # | |
Eq Duration Source # | |
Constructors
DateTime String |
Instances
SimpleType DateTime Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType DateTime Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser DateTime Source # schemaTypeToXML :: String -> DateTime -> [Content ()] Source # | |
Show DateTime Source # | |
Eq DateTime Source # | |
Constructors
Time String |
Instances
SimpleType Time Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Time Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Time Source # schemaTypeToXML :: String -> Time -> [Content ()] Source # | |
Show Time Source # | |
Eq Time Source # | |
Constructors
Date String |
Instances
SimpleType Date Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Date Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Date Source # schemaTypeToXML :: String -> Date -> [Content ()] Source # | |
Show Date Source # | |
Eq Date Source # | |
data GYearMonth Source #
Constructors
GYearMonth String |
Instances
SimpleType GYearMonth Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser GYearMonth Source # simpleTypeText :: GYearMonth -> String Source # | |
SchemaType GYearMonth Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser GYearMonth Source # schemaTypeToXML :: String -> GYearMonth -> [Content ()] Source # | |
Show GYearMonth Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods showsPrec :: Int -> GYearMonth -> ShowS show :: GYearMonth -> String showList :: [GYearMonth] -> ShowS | |
Eq GYearMonth Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes |
Constructors
GYear String |
Instances
SimpleType GYear Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType GYear Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser GYear Source # schemaTypeToXML :: String -> GYear -> [Content ()] Source # | |
Show GYear Source # | |
Eq GYear Source # | |
Constructors
GMonthDay String |
Instances
SimpleType GMonthDay Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser GMonthDay Source # simpleTypeText :: GMonthDay -> String Source # | |
SchemaType GMonthDay Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser GMonthDay Source # schemaTypeToXML :: String -> GMonthDay -> [Content ()] Source # | |
Show GMonthDay Source # | |
Eq GMonthDay Source # | |
Constructors
GDay String |
Instances
SimpleType GDay Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType GDay Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser GDay Source # schemaTypeToXML :: String -> GDay -> [Content ()] Source # | |
Show GDay Source # | |
Eq GDay Source # | |
Constructors
GMonth String |
Instances
SimpleType GMonth Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType GMonth Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser GMonth Source # schemaTypeToXML :: String -> GMonth -> [Content ()] Source # | |
Show GMonth Source # | |
Eq GMonth Source # | |
Derived, yet builtin, datatypes
newtype NormalizedString Source #
Constructors
Normalized String |
Instances
SimpleType NormalizedString Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser NormalizedString Source # simpleTypeText :: NormalizedString -> String Source # | |
SchemaType NormalizedString Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NormalizedString Source # schemaTypeToXML :: String -> NormalizedString -> [Content ()] Source # | |
Show NormalizedString Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods showsPrec :: Int -> NormalizedString -> ShowS show :: NormalizedString -> String showList :: [NormalizedString] -> ShowS | |
Eq NormalizedString Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: NormalizedString -> NormalizedString -> Bool (/=) :: NormalizedString -> NormalizedString -> Bool |
Constructors
Token String |
Instances
SimpleType Token Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Token Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Token Source # schemaTypeToXML :: String -> Token -> [Content ()] Source # | |
Show Token Source # | |
Eq Token Source # | |
Constructors
Language String |
Instances
SimpleType Language Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Language Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Language Source # schemaTypeToXML :: String -> Language -> [Content ()] Source # | |
Show Language Source # | |
Eq Language Source # | |
Constructors
Name String |
Instances
SimpleType Name Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Name Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Name Source # schemaTypeToXML :: String -> Name -> [Content ()] Source # | |
Show Name Source # | |
Eq Name Source # | |
Constructors
NCName String |
Instances
SimpleType NCName Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType NCName Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NCName Source # schemaTypeToXML :: String -> NCName -> [Content ()] Source # | |
Show NCName Source # | |
Eq NCName Source # | |
Constructors
ID String |
Instances
SimpleType ID Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType ID Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser ID Source # schemaTypeToXML :: String -> ID -> [Content ()] Source # | |
Show ID Source # | |
Eq ID Source # | |
Constructors
IDREF String |
Instances
SimpleType IDREF Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType IDREF Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser IDREF Source # schemaTypeToXML :: String -> IDREF -> [Content ()] Source # | |
Show IDREF Source # | |
Eq IDREF Source # | |
Constructors
IDREFS String |
Instances
SimpleType IDREFS Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType IDREFS Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser IDREFS Source # schemaTypeToXML :: String -> IDREFS -> [Content ()] Source # | |
Show IDREFS Source # | |
Eq IDREFS Source # | |
Constructors
ENTITY String |
Instances
SimpleType ENTITY Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType ENTITY Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser ENTITY Source # schemaTypeToXML :: String -> ENTITY -> [Content ()] Source # | |
Show ENTITY Source # | |
Eq ENTITY Source # | |
Constructors
ENTITIES String |
Instances
SimpleType ENTITIES Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType ENTITIES Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser ENTITIES Source # schemaTypeToXML :: String -> ENTITIES -> [Content ()] Source # | |
Show ENTITIES Source # | |
Eq ENTITIES Source # | |
Constructors
NMTOKEN String |
Instances
SimpleType NMTOKEN Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType NMTOKEN Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NMTOKEN Source # schemaTypeToXML :: String -> NMTOKEN -> [Content ()] Source # | |
Show NMTOKEN Source # | |
Eq NMTOKEN Source # | |
Constructors
NMTOKENS String |
Instances
SimpleType NMTOKENS Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType NMTOKENS Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NMTOKENS Source # schemaTypeToXML :: String -> NMTOKENS -> [Content ()] Source # | |
Show NMTOKENS Source # | |
Eq NMTOKENS Source # | |
Instances
SimpleType Integer Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Integer Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Integer Source # schemaTypeToXML :: String -> Integer -> [Content ()] Source # | |
HTypeable Integer Source # | |
XmlContent Integer Source # | |
Enum Integer | |
Defined in GHC.Enum | |
Num Integer | |
Read Integer | |
Integral Integer | |
Defined in GHC.Real | |
Real Integer | |
Defined in GHC.Real Methods toRational :: Integer -> Rational | |
Show Integer | |
Eq Integer | |
Ord Integer | |
Parse Integer | |
newtype NonPositiveInteger Source #
Instances
SimpleType NonPositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser NonPositiveInteger Source # simpleTypeText :: NonPositiveInteger -> String Source # | |
SchemaType NonPositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NonPositiveInteger Source # schemaTypeToXML :: String -> NonPositiveInteger -> [Content ()] Source # | |
Show NonPositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods showsPrec :: Int -> NonPositiveInteger -> ShowS show :: NonPositiveInteger -> String showList :: [NonPositiveInteger] -> ShowS | |
Eq NonPositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: NonPositiveInteger -> NonPositiveInteger -> Bool (/=) :: NonPositiveInteger -> NonPositiveInteger -> Bool |
newtype NegativeInteger Source #
Instances
SimpleType NegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser NegativeInteger Source # simpleTypeText :: NegativeInteger -> String Source # | |
SchemaType NegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NegativeInteger Source # schemaTypeToXML :: String -> NegativeInteger -> [Content ()] Source # | |
Show NegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods showsPrec :: Int -> NegativeInteger -> ShowS show :: NegativeInteger -> String showList :: [NegativeInteger] -> ShowS | |
Eq NegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: NegativeInteger -> NegativeInteger -> Bool (/=) :: NegativeInteger -> NegativeInteger -> Bool |
Constructors
Long Int64 |
Instances
SimpleType Long Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Long Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Long Source # schemaTypeToXML :: String -> Long -> [Content ()] Source # | |
Show Long Source # | |
Eq Long Source # | |
Instances
SimpleType Int Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Int Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Int Source # schemaTypeToXML :: String -> Int -> [Content ()] Source # | |
HTypeable Int Source # | |
XmlContent Int Source # | |
Bounded Int | |
Enum Int | |
Num Int | |
Read Int | |
Integral Int | |
Real Int | |
Defined in GHC.Real Methods toRational :: Int -> Rational | |
Show Int | |
Eq Int | |
Ord Int | |
Parse Int | |
Generic1 (URec Int :: k -> Type) | |
Foldable (UInt :: Type -> Type) | |
Defined in Data.Foldable Methods fold :: Monoid m => UInt m -> m foldMap :: Monoid m => (a -> m) -> UInt a -> m foldMap' :: Monoid m => (a -> m) -> UInt a -> m foldr :: (a -> b -> b) -> b -> UInt a -> b foldr' :: (a -> b -> b) -> b -> UInt a -> b foldl :: (b -> a -> b) -> b -> UInt a -> b foldl' :: (b -> a -> b) -> b -> UInt a -> b foldr1 :: (a -> a -> a) -> UInt a -> a foldl1 :: (a -> a -> a) -> UInt a -> a toList :: UInt a -> [a] null :: UInt a -> Bool elem :: Eq a => a -> UInt a -> Bool maximum :: Ord a => UInt a -> a minimum :: Ord a => UInt a -> a sum :: Num a => UInt a -> a product :: Num a => UInt a -> a | |
Traversable (UInt :: Type -> Type) | |
Defined in Data.Traversable | |
Functor (URec Int :: Type -> Type) | |
Generic (URec Int p) | |
Show (URec Int p) | |
Eq (URec Int p) | |
Ord (URec Int p) | |
data URec Int (p :: k) | |
Defined in GHC.Generics | |
type Rep1 (URec Int :: k -> Type) | |
Defined in GHC.Generics type Rep1 (URec Int :: k -> Type) = D1 ('MetaData "URec" "GHC.Generics" "base" 'False) (C1 ('MetaCons "UInt" 'PrefixI 'True) (S1 ('MetaSel ('Just "uInt#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UInt :: k -> Type))) | |
type Rep (URec Int p) | |
Defined in GHC.Generics type Rep (URec Int p) = D1 ('MetaData "URec" "GHC.Generics" "base" 'False) (C1 ('MetaCons "UInt" 'PrefixI 'True) (S1 ('MetaSel ('Just "uInt#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UInt :: Type -> Type))) |
Constructors
Short Int16 |
Instances
SimpleType Short Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Short Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Short Source # schemaTypeToXML :: String -> Short -> [Content ()] Source # | |
Show Short Source # | |
Eq Short Source # | |
Constructors
Byte Int8 |
Instances
SimpleType Byte Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Byte Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Byte Source # schemaTypeToXML :: String -> Byte -> [Content ()] Source # | |
Show Byte Source # | |
Eq Byte Source # | |
newtype NonNegativeInteger Source #
Instances
SimpleType NonNegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser NonNegativeInteger Source # simpleTypeText :: NonNegativeInteger -> String Source # | |
SchemaType NonNegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NonNegativeInteger Source # schemaTypeToXML :: String -> NonNegativeInteger -> [Content ()] Source # | |
Show NonNegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods showsPrec :: Int -> NonNegativeInteger -> ShowS show :: NonNegativeInteger -> String showList :: [NonNegativeInteger] -> ShowS | |
Eq NonNegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: NonNegativeInteger -> NonNegativeInteger -> Bool (/=) :: NonNegativeInteger -> NonNegativeInteger -> Bool |
newtype UnsignedLong Source #
Constructors
ULong Word64 |
Instances
SimpleType UnsignedLong Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser UnsignedLong Source # simpleTypeText :: UnsignedLong -> String Source # | |
SchemaType UnsignedLong Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser UnsignedLong Source # schemaTypeToXML :: String -> UnsignedLong -> [Content ()] Source # | |
Show UnsignedLong Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods showsPrec :: Int -> UnsignedLong -> ShowS show :: UnsignedLong -> String showList :: [UnsignedLong] -> ShowS | |
Eq UnsignedLong Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes |
newtype UnsignedInt Source #
Constructors
UInt Word32 |
Instances
SimpleType UnsignedInt Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser UnsignedInt Source # simpleTypeText :: UnsignedInt -> String Source # | |
SchemaType UnsignedInt Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser UnsignedInt Source # schemaTypeToXML :: String -> UnsignedInt -> [Content ()] Source # | |
Show UnsignedInt Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods showsPrec :: Int -> UnsignedInt -> ShowS show :: UnsignedInt -> String showList :: [UnsignedInt] -> ShowS | |
Eq UnsignedInt Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes |
newtype UnsignedShort Source #
Constructors
UShort Word16 |
Instances
SimpleType UnsignedShort Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser UnsignedShort Source # simpleTypeText :: UnsignedShort -> String Source # | |
SchemaType UnsignedShort Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser UnsignedShort Source # schemaTypeToXML :: String -> UnsignedShort -> [Content ()] Source # | |
Show UnsignedShort Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods showsPrec :: Int -> UnsignedShort -> ShowS show :: UnsignedShort -> String showList :: [UnsignedShort] -> ShowS | |
Eq UnsignedShort Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes |
newtype UnsignedByte Source #
Constructors
UByte Word8 |
Instances
SimpleType UnsignedByte Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser UnsignedByte Source # simpleTypeText :: UnsignedByte -> String Source # | |
SchemaType UnsignedByte Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser UnsignedByte Source # schemaTypeToXML :: String -> UnsignedByte -> [Content ()] Source # | |
Show UnsignedByte Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods showsPrec :: Int -> UnsignedByte -> ShowS show :: UnsignedByte -> String showList :: [UnsignedByte] -> ShowS | |
Eq UnsignedByte Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes |
newtype PositiveInteger Source #
Instances
SimpleType PositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser PositiveInteger Source # simpleTypeText :: PositiveInteger -> String Source # | |
SchemaType PositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser PositiveInteger Source # schemaTypeToXML :: String -> PositiveInteger -> [Content ()] Source # | |
Show PositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods showsPrec :: Int -> PositiveInteger -> ShowS show :: PositiveInteger -> String showList :: [PositiveInteger] -> ShowS | |
Eq PositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: PositiveInteger -> PositiveInteger -> Bool (/=) :: PositiveInteger -> PositiveInteger -> Bool |