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