W3cubDocs

/Haskell 9

GHC.Int

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

Description

The sized integral datatypes, Int8, Int16, Int32, and Int64.

data Int Source

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.

Constructors

I# Int#
Instances
Instances details
PrintfArg Int Source

Since: base-2.1

Instance details

Defined in Text.Printf

Bits Int Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Bits

FiniteBits Int Source

Since: base-4.6.0.0

Instance details

Defined in GHC.Internal.Bits

Data Int Source

Since: base-4.0.0.0

Instance details

Defined in GHC.Internal.Data.Data

Methods

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

Bounded Int Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Enum Int Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Storable Int Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Foreign.Storable

Methods

sizeOf :: Int -> Int Source

alignment :: Int -> Int Source

peekElemOff :: Ptr Int -> Int -> IO Int Source

pokeElemOff :: Ptr Int -> Int -> Int -> IO () Source

peekByteOff :: Ptr b -> Int -> IO Int Source

pokeByteOff :: Ptr b -> Int -> Int -> IO () Source

peek :: Ptr Int -> IO Int Source

poke :: Ptr Int -> Int -> IO () Source

Ix Int Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Ix

Methods

range :: (Int, Int) -> [Int] Source

index :: (Int, Int) -> Int -> Int Source

unsafeIndex :: (Int, Int) -> Int -> Int Source

inRange :: (Int, Int) -> Int -> Bool Source

rangeSize :: (Int, Int) -> Int Source

unsafeRangeSize :: (Int, Int) -> Int Source

Num Int Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Num

Methods

(+) :: Int -> Int -> Int Source

(-) :: Int -> Int -> Int Source

(*) :: Int -> Int -> Int Source

negate :: Int -> Int Source

abs :: Int -> Int Source

signum :: Int -> Int Source

fromInteger :: Integer -> Int Source

Read Int Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Read

Integral Int Source

Since: base-2.0.1

Instance details

Defined in GHC.Internal.Real

Methods

quot :: Int -> Int -> Int Source

rem :: Int -> Int -> Int Source

div :: Int -> Int -> Int Source

mod :: Int -> Int -> Int Source

quotRem :: Int -> Int -> (Int, Int) Source

divMod :: Int -> Int -> (Int, Int) Source

toInteger :: Int -> Integer Source

Real Int Source

Since: base-2.0.1

Instance details

Defined in GHC.Internal.Real

Methods

toRational :: Int -> Rational Source

Show Int Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Show

Methods

showsPrec :: Int -> Int -> ShowS Source

show :: Int -> String Source

showList :: [Int] -> ShowS Source

Eq Int Source
Instance details

Defined in GHC.Classes

Methods

(==) :: Int -> Int -> Bool Source

(/=) :: Int -> Int -> Bool Source

Ord Int Source
Instance details

Defined in GHC.Classes

Methods

compare :: Int -> Int -> Ordering Source

(<) :: Int -> Int -> Bool Source

(<=) :: Int -> Int -> Bool Source

(>) :: Int -> Int -> Bool Source

(>=) :: Int -> Int -> Bool Source

max :: Int -> Int -> Int Source

min :: Int -> Int -> Int Source

Lift Int Source
Instance details

Defined in GHC.Internal.TH.Lift

Methods

lift :: Quote m => Int -> m Exp Source

liftTyped :: forall (m :: Type -> Type). Quote m => Int -> Code m Int Source

Generic1 (URec Int :: k -> Type) Source
Instance details

Defined in GHC.Internal.Generics

Associated Types

type Rep1 (URec Int :: k -> Type)

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

type Rep1 (URec Int :: k -> Type) = D1 ('MetaData "URec" "GHC.Internal.Generics" "ghc-internal" 'False) (C1 ('MetaCons "UInt" 'PrefixI 'True) (S1 ('MetaSel ('Just "uInt#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UInt :: k -> Type)))

Methods

from1 :: forall (a :: k). URec Int a -> Rep1 (URec Int :: k -> Type) a Source

to1 :: forall (a :: k). Rep1 (URec Int :: k -> Type) a -> URec Int a Source

Eq1 (UInt :: Type -> Type) Source

Since: base-4.21.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftEq :: (a -> b -> Bool) -> UInt a -> UInt b -> Bool Source

Ord1 (UInt :: Type -> Type) Source

Since: base-4.21.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftCompare :: (a -> b -> Ordering) -> UInt a -> UInt b -> Ordering Source

Show1 (UInt :: Type -> Type) Source

Since: base-4.21.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> UInt a -> ShowS Source

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [UInt a] -> ShowS Source

Foldable (UInt :: Type -> Type) Source

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Data.Foldable

Methods

fold :: 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

null :: UInt a -> Bool 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

sum :: Num a => UInt a -> a Source

product :: Num a => UInt a -> a Source

Traversable (UInt :: Type -> Type) Source

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Data.Traversable

Methods

traverse :: Applicative f => (a -> f b) -> UInt a -> f (UInt b) Source

sequenceA :: Applicative f => UInt (f a) -> f (UInt a) Source

mapM :: Monad m => (a -> m b) -> UInt a -> m (UInt b) Source

sequence :: Monad m => UInt (m a) -> m (UInt a) Source

Functor (URec Int :: Type -> Type) Source

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

fmap :: (a -> b) -> URec Int a -> URec Int b Source

(<$) :: a -> URec Int b -> URec Int a Source

Generic (URec Int p) Source
Instance details

Defined in GHC.Internal.Generics

Associated Types

type Rep (URec Int p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

type Rep (URec Int p) = D1 ('MetaData "URec" "GHC.Internal.Generics" "ghc-internal" 'False) (C1 ('MetaCons "UInt" 'PrefixI 'True) (S1 ('MetaSel ('Just "uInt#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UInt :: Type -> Type)))

Methods

from :: URec Int p -> Rep (URec Int p) x Source

to :: Rep (URec Int p) x -> URec Int p Source

Show (URec Int p) Source

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

showsPrec :: Int -> URec Int p -> ShowS Source

show :: URec Int p -> String Source

showList :: [URec Int p] -> ShowS Source

Eq (URec Int p) Source

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

(==) :: URec Int p -> URec Int p -> Bool Source

(/=) :: URec Int p -> URec Int p -> Bool Source

Ord (URec Int p) Source

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

compare :: 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

max :: URec Int p -> URec Int p -> URec Int p Source

min :: URec Int p -> URec Int p -> URec Int p Source

data URec Int (p :: k) Source

Used for marking occurrences of Int#

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

data URec Int (p :: k) = UInt {}
type Rep1 (URec Int :: k -> Type) Source

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

type Rep1 (URec Int :: k -> Type) = D1 ('MetaData "URec" "GHC.Internal.Generics" "ghc-internal" 'False) (C1 ('MetaCons "UInt" 'PrefixI 'True) (S1 ('MetaSel ('Just "uInt#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UInt :: k -> Type)))
type Rep (URec Int p) Source

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

type Rep (URec Int p) = D1 ('MetaData "URec" "GHC.Internal.Generics" "ghc-internal" 'False) (C1 ('MetaCons "UInt" 'PrefixI 'True) (S1 ('MetaSel ('Just "uInt#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UInt :: Type -> Type)))

data Int8 Source

8-bit signed integer type

Constructors

I8# Int8#
Instances
Instances details
PrintfArg Int8 Source

Since: base-2.1

Instance details

Defined in Text.Printf

Bits Int8 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

FiniteBits Int8 Source

Since: base-4.6.0.0

Instance details

Defined in GHC.Internal.Int

Data Int8 Source

Since: base-4.0.0.0

Instance details

Defined in GHC.Internal.Data.Data

Methods

gfoldl :: (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

Instance details

Defined in GHC.Internal.Int

Enum Int8 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Storable Int8 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Foreign.Storable

Ix Int8 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Num Int8 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Read Int8 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Integral Int8 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Real Int8 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Methods

toRational :: Int8 -> Rational Source

Show Int8 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Eq Int8 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Methods

(==) :: Int8 -> Int8 -> Bool Source

(/=) :: Int8 -> Int8 -> Bool Source

Ord Int8 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Methods

compare :: Int8 -> Int8 -> Ordering Source

(<) :: Int8 -> Int8 -> Bool Source

(<=) :: Int8 -> Int8 -> Bool Source

(>) :: Int8 -> Int8 -> Bool Source

(>=) :: Int8 -> Int8 -> Bool Source

max :: Int8 -> Int8 -> Int8 Source

min :: Int8 -> Int8 -> Int8 Source

Lift Int8 Source
Instance details

Defined in GHC.Internal.TH.Lift

Methods

lift :: Quote m => Int8 -> m Exp Source

liftTyped :: forall (m :: Type -> Type). Quote m => Int8 -> Code m Int8 Source

data Int16 Source

16-bit signed integer type

Constructors

I16# Int16#
Instances
Instances details
PrintfArg Int16 Source

Since: base-2.1

Instance details

Defined in Text.Printf

Bits Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

FiniteBits Int16 Source

Since: base-4.6.0.0

Instance details

Defined in GHC.Internal.Int

Data Int16 Source

Since: base-4.0.0.0

Instance details

Defined in GHC.Internal.Data.Data

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Int16 -> c Int16 Source

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Int16 Source

toConstr :: Int16 -> Constr Source

dataTypeOf :: Int16 -> DataType Source

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Int16) Source

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Int16) Source

gmapT :: (forall b. Data b => b -> b) -> Int16 -> Int16 Source

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Int16 -> r Source

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Int16 -> r Source

gmapQ :: (forall d. Data d => d -> u) -> Int16 -> [u] Source

gmapQi :: Int -> (forall d. Data d => d -> u) -> Int16 -> u Source

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Int16 -> m Int16 Source

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Int16 -> m Int16 Source

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Int16 -> m Int16 Source

Bounded Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Enum Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Storable Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Foreign.Storable

Ix Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Num Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Read Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Integral Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Real Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Show Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Eq Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Methods

(==) :: Int16 -> Int16 -> Bool Source

(/=) :: Int16 -> Int16 -> Bool Source

Ord Int16 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Lift Int16 Source
Instance details

Defined in GHC.Internal.TH.Lift

Methods

lift :: Quote m => Int16 -> m Exp Source

liftTyped :: forall (m :: Type -> Type). Quote m => Int16 -> Code m Int16 Source

data Int32 Source

32-bit signed integer type

Constructors

I32# Int32#
Instances
Instances details
PrintfArg Int32 Source

Since: base-2.1

Instance details

Defined in Text.Printf

Bits Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

FiniteBits Int32 Source

Since: base-4.6.0.0

Instance details

Defined in GHC.Internal.Int

Data Int32 Source

Since: base-4.0.0.0

Instance details

Defined in GHC.Internal.Data.Data

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Int32 -> c Int32 Source

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Int32 Source

toConstr :: Int32 -> Constr Source

dataTypeOf :: Int32 -> DataType Source

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Int32) Source

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Int32) Source

gmapT :: (forall b. Data b => b -> b) -> Int32 -> Int32 Source

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Int32 -> r Source

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Int32 -> r Source

gmapQ :: (forall d. Data d => d -> u) -> Int32 -> [u] Source

gmapQi :: Int -> (forall d. Data d => d -> u) -> Int32 -> u Source

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Int32 -> m Int32 Source

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Int32 -> m Int32 Source

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Int32 -> m Int32 Source

Bounded Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Enum Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Storable Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Foreign.Storable

Ix Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Num Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Read Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Integral Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Real Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Show Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Eq Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Methods

(==) :: Int32 -> Int32 -> Bool Source

(/=) :: Int32 -> Int32 -> Bool Source

Ord Int32 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Lift Int32 Source
Instance details

Defined in GHC.Internal.TH.Lift

Methods

lift :: Quote m => Int32 -> m Exp Source

liftTyped :: forall (m :: Type -> Type). Quote m => Int32 -> Code m Int32 Source

data Int64 Source

64-bit signed integer type

Constructors

I64# Int64#
Instances
Instances details
PrintfArg Int64 Source

Since: base-2.1

Instance details

Defined in Text.Printf

Bits Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

FiniteBits Int64 Source

Since: base-4.6.0.0

Instance details

Defined in GHC.Internal.Int

Data Int64 Source

Since: base-4.0.0.0

Instance details

Defined in GHC.Internal.Data.Data

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Int64 -> c Int64 Source

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Int64 Source

toConstr :: Int64 -> Constr Source

dataTypeOf :: Int64 -> DataType Source

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Int64) Source

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Int64) Source

gmapT :: (forall b. Data b => b -> b) -> Int64 -> Int64 Source

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Int64 -> r Source

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Int64 -> r Source

gmapQ :: (forall d. Data d => d -> u) -> Int64 -> [u] Source

gmapQi :: Int -> (forall d. Data d => d -> u) -> Int64 -> u Source

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Int64 -> m Int64 Source

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Int64 -> m Int64 Source

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Int64 -> m Int64 Source

Bounded Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Enum Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Storable Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Foreign.Storable

Ix Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Num Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Read Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Integral Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Real Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Show Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Eq Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Methods

(==) :: Int64 -> Int64 -> Bool Source

(/=) :: Int64 -> Int64 -> Bool Source

Ord Int64 Source

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Lift Int64 Source
Instance details

Defined in GHC.Internal.TH.Lift

Methods

lift :: Quote m => Int64 -> m Exp Source

liftTyped :: forall (m :: Type -> Type). Quote m => Int64 -> Code m Int64 Source

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

Equality operators

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

ltInt64 :: Int64 -> Int64 -> Bool Source

leInt64 :: 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