| Copyright | (c) The University of Glasgow 1997-2002 |
|---|---|
| License | see libraries/base/LICENSE |
| Maintainer | [email protected] |
| Stability | internal |
| Portability | non-portable (GHC Extensions) |
| Safe Haskell | Safe |
| Language | Haskell2010 |
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.
| PrintfArg Int Source | Since: base-2.1 |
||||
Defined in Text.Printf | |||||
| Bits Int Source | Since: base-2.1 |
||||
Defined in GHC.Internal.Bits Methods(.&.) :: Int -> Int -> Int Source (.|.) :: Int -> Int -> Int Source xor :: Int -> Int -> Int Source complement :: Int -> Int Source shift :: Int -> Int -> Int Source rotate :: Int -> Int -> Int Source setBit :: Int -> Int -> Int Source clearBit :: Int -> Int -> Int Source complementBit :: Int -> Int -> Int Source testBit :: Int -> Int -> Bool Source bitSizeMaybe :: Int -> Maybe Int Source isSigned :: Int -> Bool Source shiftL :: Int -> Int -> Int Source unsafeShiftL :: Int -> Int -> Int Source shiftR :: Int -> Int -> Int Source unsafeShiftR :: Int -> Int -> Int Source rotateL :: Int -> Int -> Int Source | |||||
| FiniteBits Int Source | Since: base-4.6.0.0 |
||||
Defined in GHC.Internal.Bits MethodsfiniteBitSize :: Int -> Int Source countLeadingZeros :: Int -> Int Source countTrailingZeros :: Int -> Int Source | |||||
| Data Int Source | Since: base-4.0.0.0 |
||||
Defined in GHC.Internal.Data.Data Methodsgfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Int -> c Int Source gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Int Source toConstr :: Int -> Constr Source dataTypeOf :: Int -> DataType Source dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Int) Source dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Int) Source gmapT :: (forall b. Data b => b -> b) -> Int -> Int Source gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Int -> r Source gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Int -> r Source gmapQ :: (forall d. Data d => d -> u) -> Int -> [u] Source gmapQi :: Int -> (forall d. Data d => d -> u) -> Int -> u Source gmapM :: Monad m => (forall d. Data d => d -> m d) -> Int -> m Int Source gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Int -> m Int Source gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Int -> m Int Source | |||||
| Bounded Int Source | Since: base-2.1 |
||||
| Enum Int Source | Since: base-2.1 |
||||
Defined in GHC.Internal.Enum | |||||
| Storable Int Source | Since: base-2.1 |
||||
Defined in GHC.Internal.Foreign.Storable | |||||
| Ix Int Source | Since: base-2.1 |
||||
| Num Int Source | Since: base-2.1 |
||||
| Read Int Source | Since: base-2.1 |
||||
| Integral Int Source | Since: base-2.0.1 |
||||
| Real Int Source | Since: base-2.0.1 |
||||
Defined in GHC.Internal.Real MethodstoRational :: Int -> Rational Source | |||||
| Show Int Source | Since: base-2.1 |
||||
| Eq Int Source | |||||
| Ord Int Source | |||||
| Lift Int Source | |||||
| Generic1 (URec Int :: k -> Type) Source | |||||
Defined in GHC.Internal.Generics Associated Types
| |||||
| Eq1 (UInt :: Type -> Type) Source | Since: base-4.21.0.0 |
||||
| Ord1 (UInt :: Type -> Type) Source | Since: base-4.21.0.0 |
||||
Defined in Data.Functor.Classes | |||||
| Show1 (UInt :: Type -> Type) Source | Since: base-4.21.0.0 |
||||
| Foldable (UInt :: Type -> Type) Source | Since: base-4.9.0.0 |
||||
Defined in GHC.Internal.Data.Foldable Methodsfold :: Monoid m => UInt m -> m Source foldMap :: Monoid m => (a -> m) -> UInt a -> m Source foldMap' :: Monoid m => (a -> m) -> UInt a -> m Source foldr :: (a -> b -> b) -> b -> UInt a -> b Source foldr' :: (a -> b -> b) -> b -> UInt a -> b Source foldl :: (b -> a -> b) -> b -> UInt a -> b Source foldl' :: (b -> a -> b) -> b -> UInt a -> b Source foldr1 :: (a -> a -> a) -> UInt a -> a Source foldl1 :: (a -> a -> a) -> UInt a -> a Source toList :: UInt a -> [a] Source length :: UInt a -> Int Source elem :: Eq a => a -> UInt a -> Bool Source maximum :: Ord a => UInt a -> a Source minimum :: Ord a => UInt a -> a Source | |||||
| Traversable (UInt :: Type -> Type) Source | Since: base-4.9.0.0 |
||||
| Functor (URec Int :: Type -> Type) Source | Since: base-4.9.0.0 |
||||
| Generic (URec Int p) Source | |||||
Defined in GHC.Internal.Generics Associated Types
| |||||
| Show (URec Int p) Source | Since: base-4.9.0.0 |
||||
| Eq (URec Int p) Source | Since: base-4.9.0.0 |
||||
| Ord (URec Int p) Source | Since: base-4.9.0.0 |
||||
Defined in GHC.Internal.Generics Methodscompare :: URec Int p -> URec Int p -> Ordering Source (<) :: URec Int p -> URec Int p -> Bool Source (<=) :: URec Int p -> URec Int p -> Bool Source (>) :: URec Int p -> URec Int p -> Bool Source (>=) :: URec Int p -> URec Int p -> Bool Source | |||||
| data URec Int (p :: k) Source |
Used for marking occurrences of Since: base-4.9.0.0 |
||||
| type Rep1 (URec Int :: k -> Type) Source | Since: base-4.9.0.0 |
||||
Defined in GHC.Internal.Generics | |||||
| type Rep (URec Int p) Source | Since: base-4.9.0.0 |
||||
Defined in GHC.Internal.Generics | |||||
8-bit signed integer type
| PrintfArg Int8 Source | Since: base-2.1 |
Defined in Text.Printf | |
| Bits Int8 Source | Since: base-2.1 |
Defined in GHC.Internal.Int Methods(.&.) :: Int8 -> Int8 -> Int8 Source (.|.) :: Int8 -> Int8 -> Int8 Source xor :: Int8 -> Int8 -> Int8 Source complement :: Int8 -> Int8 Source shift :: Int8 -> Int -> Int8 Source rotate :: Int8 -> Int -> Int8 Source setBit :: Int8 -> Int -> Int8 Source clearBit :: Int8 -> Int -> Int8 Source complementBit :: Int8 -> Int -> Int8 Source testBit :: Int8 -> Int -> Bool Source bitSizeMaybe :: Int8 -> Maybe Int Source isSigned :: Int8 -> Bool Source shiftL :: Int8 -> Int -> Int8 Source unsafeShiftL :: Int8 -> Int -> Int8 Source shiftR :: Int8 -> Int -> Int8 Source unsafeShiftR :: Int8 -> Int -> Int8 Source rotateL :: Int8 -> Int -> Int8 Source | |
| FiniteBits Int8 Source | Since: base-4.6.0.0 |
Defined in GHC.Internal.Int MethodsfiniteBitSize :: Int8 -> Int Source countLeadingZeros :: Int8 -> Int Source countTrailingZeros :: Int8 -> Int Source | |
| Data Int8 Source | Since: base-4.0.0.0 |
Defined in GHC.Internal.Data.Data Methodsgfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Int8 -> c Int8 Source gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Int8 Source toConstr :: Int8 -> Constr Source dataTypeOf :: Int8 -> DataType Source dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Int8) Source dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Int8) Source gmapT :: (forall b. Data b => b -> b) -> Int8 -> Int8 Source gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Int8 -> r Source gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Int8 -> r Source gmapQ :: (forall d. Data d => d -> u) -> Int8 -> [u] Source gmapQi :: Int -> (forall d. Data d => d -> u) -> Int8 -> u Source gmapM :: Monad m => (forall d. Data d => d -> m d) -> Int8 -> m Int8 Source gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Int8 -> m Int8 Source gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Int8 -> m Int8 Source | |
| Bounded Int8 Source | Since: base-2.1 |
| Enum Int8 Source | Since: base-2.1 |
| Storable Int8 Source | Since: base-2.1 |
Defined in GHC.Internal.Foreign.Storable | |
| Ix Int8 Source | Since: base-2.1 |
Defined in GHC.Internal.Int | |
| Num Int8 Source | Since: base-2.1 |
| Read Int8 Source | Since: base-2.1 |
| Integral Int8 Source | Since: base-2.1 |
Defined in GHC.Internal.Int | |
| Real Int8 Source | Since: base-2.1 |
Defined in GHC.Internal.Int MethodstoRational :: Int8 -> Rational Source | |
| Show Int8 Source | Since: base-2.1 |
| Eq Int8 Source | Since: base-2.1 |
| Ord Int8 Source | Since: base-2.1 |
| Lift Int8 Source | |
16-bit signed integer type
32-bit signed integer type
64-bit signed integer type
uncheckedIShiftL64# :: Int64# -> Int# -> Int64# Source
uncheckedIShiftRA64# :: Int64# -> Int# -> Int64# Source
shiftRLInt8# :: Int8# -> Int# -> Int8# Source
shiftRLInt16# :: Int16# -> Int# -> Int16# Source
shiftRLInt32# :: Int32# -> Int# -> Int32# Source
See GHC.Classes#matching_overloaded_methods_in_rules
eqInt :: Int -> Int -> Bool Source
neInt :: Int -> Int -> Bool Source
gtInt :: Int -> Int -> Bool Source
geInt :: Int -> Int -> Bool Source
ltInt :: Int -> Int -> Bool Source
leInt :: Int -> Int -> Bool Source
eqInt8 :: Int8 -> Int8 -> Bool Source
neInt8 :: Int8 -> Int8 -> Bool Source
gtInt8 :: Int8 -> Int8 -> Bool Source
geInt8 :: Int8 -> Int8 -> Bool Source
ltInt8 :: Int8 -> Int8 -> Bool Source
leInt8 :: Int8 -> Int8 -> Bool Source
eqInt16 :: Int16 -> Int16 -> Bool Source
neInt16 :: Int16 -> Int16 -> Bool Source
gtInt16 :: Int16 -> Int16 -> Bool Source
geInt16 :: Int16 -> Int16 -> Bool Source
ltInt16 :: Int16 -> Int16 -> Bool Source
leInt16 :: Int16 -> Int16 -> Bool Source
eqInt32 :: Int32 -> Int32 -> Bool Source
neInt32 :: Int32 -> Int32 -> Bool Source
gtInt32 :: Int32 -> Int32 -> Bool Source
geInt32 :: Int32 -> Int32 -> Bool Source
ltInt32 :: Int32 -> Int32 -> Bool Source
leInt32 :: Int32 -> Int32 -> Bool Source
eqInt64 :: Int64 -> Int64 -> Bool Source
neInt64 :: Int64 -> Int64 -> Bool Source
gtInt64 :: Int64 -> Int64 -> Bool Source
geInt64 :: Int64 -> Int64 -> Bool Source
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.12.1/docs/libraries/base-4.21.0.0-8e62/GHC-Int.html