octane-0.11.0: Parse Rocket League replays.
Octane.Type.Int32
Synopsis
newtype Int32 Source #
A 32-bit signed integer.
Constructors
Instances
Methods
(==) :: Int32 -> Int32 -> Bool #
(/=) :: Int32 -> Int32 -> Bool #
(+) :: Int32 -> Int32 -> Int32 #
(-) :: Int32 -> Int32 -> Int32 #
(*) :: Int32 -> Int32 -> Int32 #
negate :: Int32 -> Int32 #
abs :: Int32 -> Int32 #
signum :: Int32 -> Int32 #
fromInteger :: Integer -> Int32 #
compare :: Int32 -> Int32 -> Ordering #
(<) :: Int32 -> Int32 -> Bool #
(<=) :: Int32 -> Int32 -> Bool #
(>) :: Int32 -> Int32 -> Bool #
(>=) :: Int32 -> Int32 -> Bool #
max :: Int32 -> Int32 -> Int32 #
min :: Int32 -> Int32 -> Int32 #
Shown as 1234.
1234
showsPrec :: Int -> Int32 -> ShowS #
show :: Int32 -> String #
showList :: [Int32] -> ShowS #
Associated Types
type Rep Int32 :: * -> * #
from :: Int32 -> Rep Int32 x #
to :: Rep Int32 x -> Int32 #
toJSON :: Int32 -> Value #
toEncoding :: Int32 -> Encoding #
Stored in little-endian byte order.
put :: Int32 -> Put #
get :: Get Int32 #
putList :: [Int32] -> Put #
putBits :: Int -> Int32 -> BitPut () #
getBits :: Int -> BitGet Int32 #
rnf :: Int32 -> () #
fromInt32 :: Integral a => Int32 -> a Source #
Converts a Int32 into any Integral value.
Int32
Integral
>>> fromInt32 1 :: Int.Int32 1
>>>
fromInt32 1 :: Int.Int32
toInt32 :: Integral a => a -> Int32 Source #
Converts any Integral value into a Int32.
>>> toInt32 (1 :: Int.Int32) 1
toInt32 (1 :: Int.Int32)