Copyright | (c) The University of Glasgow 1997-2002 |
---|---|
License | see libraries/base/LICENSE |
Maintainer | cvs-ghc@haskell.org |
Stability | internal |
Portability | non-portable (GHC Extensions) |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
Synopsis
- data Int = I# Int#
- data Int8 = I8# Int#
- data Int16 = I16# Int#
- data Int32 = I32# Int#
- data Int64 = I64# Int#
- 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
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 Source # | Since: 2.1 |
Enum Int Source # | Since: 2.1 |
Defined in GHC.Enum | |
Eq Int | |
Integral Int Source # | Since: 2.0.1 |
Data Int Source # | Since: 4.0.0.0 |
Defined in Data.Data gfoldl :: (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 # | |
Num Int Source # | Since: 2.1 |
Ord Int | |
Read Int Source # | Since: 2.1 |
Real Int Source # | Since: 2.0.1 |
Show Int Source # | Since: 2.1 |
Ix Int Source # | Since: 2.1 |
FiniteBits Int Source # | Since: 4.6.0.0 |
Bits Int Source # | Since: 2.1 |
Defined in Data.Bits (.&.) :: 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 # bitSize :: Int -> 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 # | |
Storable Int Source # | Since: 2.1 |
PrintfArg Int Source # | Since: 2.1 |
Defined in Text.Printf formatArg :: Int -> FieldFormatter Source # parseFormat :: Int -> ModifierParser Source # | |
Generic1 (URec Int :: k -> Type) Source # | Since: 4.9.0.0 |
Functor (URec Int :: Type -> Type) Source # | Since: 4.9.0.0 |
Foldable (URec Int :: Type -> Type) Source # | Since: 4.9.0.0 |
Defined in Data.Foldable fold :: Monoid m => URec Int m -> m Source # foldMap :: Monoid m => (a -> m) -> URec Int a -> m Source # foldMap' :: Monoid m => (a -> m) -> URec Int a -> m Source # foldr :: (a -> b -> b) -> b -> URec Int a -> b Source # foldr' :: (a -> b -> b) -> b -> URec Int a -> b Source # foldl :: (b -> a -> b) -> b -> URec Int a -> b Source # foldl' :: (b -> a -> b) -> b -> URec Int a -> b Source # foldr1 :: (a -> a -> a) -> URec Int a -> a Source # foldl1 :: (a -> a -> a) -> URec Int a -> a Source # toList :: URec Int a -> [a] Source # null :: URec Int a -> Bool Source # length :: URec Int a -> Int Source # elem :: Eq a => a -> URec Int a -> Bool Source # maximum :: Ord a => URec Int a -> a Source # minimum :: Ord a => URec Int a -> a Source # | |
Traversable (URec Int :: Type -> Type) Source # | Since: 4.9.0.0 |
Defined in Data.Traversable | |
Eq (URec Int p) Source # | Since: 4.9.0.0 |
Ord (URec Int p) Source # | Since: 4.9.0.0 |
Show (URec Int p) Source # | Since: 4.9.0.0 |
Generic (URec Int p) Source # | Since: 4.9.0.0 |
data URec Int (p :: k) Source # | Used for marking occurrences of Since: 4.9.0.0 |
type Rep1 (URec Int :: k -> Type) Source # | |
Defined in GHC.Generics | |
type Rep (URec Int p) Source # | |
Defined in GHC.Generics |
8-bit signed integer type
Instances
16-bit signed integer type
Instances
32-bit signed integer type
Instances
64-bit signed integer type
Instances
Equality operators
See GHC.Classes#matching_overloaded_methods_in_rules