Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Type conversion.
Synopsis
- int_to_word8 :: Int -> Word8
- int_to_word32 :: Int -> Word32
- int_to_word16 :: Int -> Word16
- int_to_int8 :: Int -> Int8
- int_to_int16 :: Int -> Int16
- int_to_int32 :: Int -> Int32
- int_to_int64 :: Int -> Int64
- int8_to_int :: Int8 -> Int
- int16_to_int :: Int16 -> Int
- int32_to_int :: Int32 -> Int
- int64_to_int :: Int64 -> Int
- word8_to_int :: Word8 -> Int
- word16_to_int :: Word16 -> Int
- word32_to_int :: Word32 -> Int
- word16_to_word32 :: Word16 -> Word32
- word32_to_word16 :: Word32 -> Word16
- word32_to_int32 :: Word32 -> Int32
- word32_to_int64 :: Word32 -> Int64
- word64_to_int64 :: Word64 -> Int64
- int64_to_int32 :: Int64 -> Int32
- int64_to_word32 :: Int64 -> Word32
- word64_to_double :: Word64 -> Double
- word8_to_enum :: Enum e => Word8 -> e
- word16_to_enum :: Enum e => Word16 -> e
- enum_to_word8 :: Enum e => e -> Word8
- enum_to_word16 :: Enum e => e -> Word16
- word8_to_char :: Word8 -> Char
- char_to_word8 :: Char -> Word8
Int -> N
int_to_word8 :: Int -> Word8 Source #
Type specialised fromIntegral
int_to_word32 :: Int -> Word32 Source #
Type specialised fromIntegral
int_to_word16 :: Int -> Word16 Source #
Type specialised fromIntegral
.
int_to_int8 :: Int -> Int8 Source #
Type specialised fromIntegral
int_to_int16 :: Int -> Int16 Source #
Type specialised fromIntegral
int_to_int32 :: Int -> Int32 Source #
Type specialised fromIntegral
int_to_int64 :: Int -> Int64 Source #
Type specialised fromIntegral
N -> Int
int8_to_int :: Int8 -> Int Source #
Type specialised fromIntegral
int16_to_int :: Int16 -> Int Source #
Type specialised fromIntegral
int32_to_int :: Int32 -> Int Source #
Type specialised fromIntegral
int64_to_int :: Int64 -> Int Source #
Type specialised fromIntegral
word8_to_int :: Word8 -> Int Source #
Type specialised fromIntegral
word16_to_int :: Word16 -> Int Source #
Type specialised fromIntegral
word32_to_int :: Word32 -> Int Source #
Type specialised fromIntegral
N -> N
word16_to_word32 :: Word16 -> Word32 Source #
Type specialised fromIntegral
word32_to_word16 :: Word32 -> Word16 Source #
Type specialised fromIntegral
word32_to_int32 :: Word32 -> Int32 Source #
Type specialised fromIntegral
word32_to_int64 :: Word32 -> Int64 Source #
Type specialised fromIntegral
word64_to_int64 :: Word64 -> Int64 Source #
Type specialised fromIntegral
int64_to_int32 :: Int64 -> Int32 Source #
Type specialised fromIntegral
int64_to_word32 :: Int64 -> Word32 Source #
Type specialised fromIntegral
N -> Real
word64_to_double :: Word64 -> Double Source #
Type specialised fromIntegral
Enum
word8_to_enum :: Enum e => Word8 -> e Source #
Type-specialised toEnum
of fromIntegral
word16_to_enum :: Enum e => Word16 -> e Source #
Type-specialised toEnum
of fromIntegral
enum_to_word8 :: Enum e => e -> Word8 Source #
Type-specialised fromIntegral
of fromEnum
.
enum_to_word16 :: Enum e => e -> Word16 Source #
Type-specialised fromIntegral
of fromEnum
.
Enum/Char
word8_to_char :: Word8 -> Char Source #
Type-specialised word8_to_enum
.
char_to_word8 :: Char -> Word8 Source #
Type-specialised enum_to_word8
.