Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Int8
- data Int16
- data Int32
- data Int64 = I64# Int#
- data Int = I# Int#
- pattern I8# :: Int# -> Int8
- pattern I16# :: Int# -> Int16
- pattern I32# :: Int# -> Int32
- uncheckedIShiftL64# :: Int# -> Int# -> Int#
- uncheckedIShiftRA64# :: Int# -> Int# -> Int#
- eqInt :: Int -> Int -> Bool
- neInt :: Int -> Int -> Bool
- gtInt :: Int -> Int -> Bool
- geInt :: Int -> Int -> Bool
- ltInt :: Int -> Int -> Bool
- leInt :: Int -> Int -> Bool
- eqInt8 :: Int8 -> Int8 -> Bool
- neInt8 :: Int8 -> Int8 -> Bool
- gtInt8 :: Int8 -> Int8 -> Bool
- geInt8 :: Int8 -> Int8 -> Bool
- ltInt8 :: Int8 -> Int8 -> Bool
- leInt8 :: Int8 -> Int8 -> Bool
- eqInt16 :: Int16 -> Int16 -> Bool
- neInt16 :: Int16 -> Int16 -> Bool
- gtInt16 :: Int16 -> Int16 -> Bool
- geInt16 :: Int16 -> Int16 -> Bool
- ltInt16 :: Int16 -> Int16 -> Bool
- leInt16 :: Int16 -> Int16 -> Bool
- eqInt32 :: Int32 -> Int32 -> Bool
- neInt32 :: Int32 -> Int32 -> Bool
- gtInt32 :: Int32 -> Int32 -> Bool
- geInt32 :: Int32 -> Int32 -> Bool
- ltInt32 :: Int32 -> Int32 -> Bool
- leInt32 :: Int32 -> Int32 -> Bool
- eqInt64 :: Int64 -> Int64 -> Bool
- neInt64 :: Int64 -> Int64 -> Bool
- gtInt64 :: Int64 -> Int64 -> Bool
- geInt64 :: Int64 -> Int64 -> Bool
- ltInt64 :: Int64 -> Int64 -> Bool
- leInt64 :: Int64 -> Int64 -> Bool
Documentation
8-bit signed integer type
Instances
Bounded Int8 | Since: base-2.1 |
Enum Int8 | Since: base-2.1 |
Eq Int8 | Since: base-2.1 |
Integral Int8 | Since: base-2.1 |
Num Int8 | Since: base-2.1 |
Ord Int8 | Since: base-2.1 |
Read Int8 | Since: base-2.1 |
Real Int8 | Since: base-2.1 |
Defined in GHC.Int toRational :: Int8 -> Rational # | |
Show Int8 | Since: base-2.1 |
Ix Int8 | Since: base-2.1 |
Bits Int8 | Since: base-2.1 |
Defined in GHC.Int (.&.) :: Int8 -> Int8 -> Int8 # (.|.) :: Int8 -> Int8 -> Int8 # complement :: Int8 -> Int8 # shift :: Int8 -> Int -> Int8 # rotate :: Int8 -> Int -> Int8 # setBit :: Int8 -> Int -> Int8 # clearBit :: Int8 -> Int -> Int8 # complementBit :: Int8 -> Int -> Int8 # testBit :: Int8 -> Int -> Bool # bitSizeMaybe :: Int8 -> Maybe Int # shiftL :: Int8 -> Int -> Int8 # unsafeShiftL :: Int8 -> Int -> Int8 # shiftR :: Int8 -> Int -> Int8 # unsafeShiftR :: Int8 -> Int -> Int8 # rotateL :: Int8 -> Int -> Int8 # | |
FiniteBits Int8 | Since: base-4.6.0.0 |
Defined in GHC.Int |
16-bit signed integer type
Instances
32-bit signed integer type
Instances
64-bit signed integer type
Instances
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.
Instances
Bounded Int | Since: base-2.1 |
Enum Int | Since: base-2.1 |
Eq Int | |
Integral Int | Since: base-2.0.1 |
Num Int | Since: base-2.1 |
Ord Int | |
Read Int | Since: base-2.1 |
Real Int | Since: base-2.0.1 |
Defined in GHC.Real toRational :: Int -> Rational # | |
Show Int | Since: base-2.1 |
Foldable (UInt :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Foldable 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 # elem :: Eq a => a -> UInt a -> Bool # maximum :: Ord a => UInt a -> a # | |
Traversable (UInt :: Type -> Type) | Since: base-4.9.0.0 |
uncheckedIShiftL64# :: Int# -> Int# -> Int# #
uncheckedIShiftRA64# :: Int# -> Int# -> Int# #
Equality operators
See GHC.Classes#matching_overloaded_methods_in_rules