Safe Haskell | None |
---|---|
Language | Haskell2010 |
XDR Types.
The Quadruple
type is not supported as there is no reasonable Haskell equivalent.
This module should be imported qualified, e.g., as XDR
.
- type Int = Int32
- type UnsignedInt = Word32
- type Hyper = Int64
- type UnsignedHyper = Word64
- data Float :: *
- data Double :: *
- data Bool :: *
- type FixedArray n a = FixedLengthArray n (Vector a)
- type Array n a = BoundedLengthArray n (Vector a)
- type FixedOpaque n = FixedLengthArray n ByteString
- type Opaque n = BoundedLengthArray n ByteString
- type FixedString n = FixedLengthArray n ByteString
- type String n = BoundedLengthArray n ByteString
- type Optional a = Maybe a
- type Length = UnsignedInt
- maxLength :: Length
Documentation
type UnsignedInt = Word32 Source #
type UnsignedHyper = Word64 Source #
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.
Eq Float | |
Floating Float | Since: 2.1 |
Ord Float | |
RealFloat Float | Since: 2.1 |
Storable Float | Since: 2.1 |
Serialize Float | |
Random Float | |
XDR Float Source # | |
Generic1 k (URec k Float) | |
Functor (URec * Float) | |
Foldable (URec * Float) | |
Eq (URec k Float p) | |
Ord (URec k Float p) | |
Show (URec k Float p) | |
Generic (URec k Float p) | |
data URec k Float | Used for marking occurrences of Since: 4.9.0.0 |
type Rep1 k (URec k Float) | |
type Rep (URec k Float p) | |
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.
Eq Double | |
Floating Double | Since: 2.1 |
Ord Double | |
RealFloat Double | Since: 2.1 |
Storable Double | Since: 2.1 |
Serialize Double | |
Random Double | |
XDR Double Source # | |
Generic1 k (URec k Double) | |
Functor (URec * Double) | |
Foldable (URec * Double) | |
Eq (URec k Double p) | |
Ord (URec k Double p) | |
Show (URec k Double p) | |
Generic (URec k Double p) | |
data URec k Double | Used for marking occurrences of Since: 4.9.0.0 |
type Rep1 k (URec k Double) | |
type Rep (URec k Double p) | |
Bounded Bool | Since: 2.1 |
Enum Bool | Since: 2.1 |
Eq Bool | |
Ord Bool | |
Show Bool | |
Ix Bool | Since: 2.1 |
Generic Bool | |
BooleanFlag Bool | |
SingKind Bool | Since: 4.9.0.0 |
Storable Bool | Since: 2.1 |
Bits Bool | Interpret Since: 4.7.0.0 |
FiniteBits Bool | Since: 4.7.0.0 |
Serialize Bool | |
Random Bool | |
XDREnum Bool Source # | |
XDR Bool Source # | |
SingI Bool False | Since: 4.9.0.0 |
SingI Bool True | Since: 4.9.0.0 |
type Rep Bool | |
data Sing Bool | |
type DemoteRep Bool | |
type (==) Bool a b | |
type FixedArray n a = FixedLengthArray n (Vector a) Source #
type Array n a = BoundedLengthArray n (Vector a) Source #
type FixedOpaque n = FixedLengthArray n ByteString Source #
type Opaque n = BoundedLengthArray n ByteString Source #
type FixedString n = FixedLengthArray n ByteString Source #
type String n = BoundedLengthArray n ByteString Source #
type Length = UnsignedInt Source #
Not a real XDR type, but used for length headers