word24-2.0.1: 24-bit word and int types for GHC

Copyright(c) The University of Glasgow 1997-2002
Licensesee src/Data/LICENSE
Stabilityexperimental
Portabilitynon-portable (GHC Extensions)
Safe HaskellNone
LanguageHaskell2010

Data.Int.Int24

Contents

Description

The 24 bit integral datatype, Int24.

Synopsis

Int24 type

data Int24 #

24-bit signed integer type

Constructors

I24# Int# 

Instances

Bounded Int24 # 
Enum Int24 # 
Eq Int24 # 

Methods

(==) :: Int24 -> Int24 -> Bool #

(/=) :: Int24 -> Int24 -> Bool #

Integral Int24 # 
Data Int24 # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Int24 -> c Int24 #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Int24 #

toConstr :: Int24 -> Constr #

dataTypeOf :: Int24 -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Int24) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Int24) #

gmapT :: (forall b. Data b => b -> b) -> Int24 -> Int24 #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Int24 -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Int24 -> r #

gmapQ :: (forall d. Data d => d -> u) -> Int24 -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Int24 -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Int24 -> m Int24 #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Int24 -> m Int24 #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Int24 -> m Int24 #

Num Int24 # 
Ord Int24 # 

Methods

compare :: Int24 -> Int24 -> Ordering #

(<) :: Int24 -> Int24 -> Bool #

(<=) :: Int24 -> Int24 -> Bool #

(>) :: Int24 -> Int24 -> Bool #

(>=) :: Int24 -> Int24 -> Bool #

max :: Int24 -> Int24 -> Int24 #

min :: Int24 -> Int24 -> Int24 #

Read Int24 # 
Real Int24 # 

Methods

toRational :: Int24 -> Rational #

Show Int24 # 

Methods

showsPrec :: Int -> Int24 -> ShowS #

show :: Int24 -> String #

showList :: [Int24] -> ShowS #

Ix Int24 # 
Storable Int24 # 

Methods

sizeOf :: Int24 -> Int #

alignment :: Int24 -> Int #

peekElemOff :: Ptr Int24 -> Int -> IO Int24 #

pokeElemOff :: Ptr Int24 -> Int -> Int24 -> IO () #

peekByteOff :: Ptr b -> Int -> IO Int24 #

pokeByteOff :: Ptr b -> Int -> Int24 -> IO () #

peek :: Ptr Int24 -> IO Int24 #

poke :: Ptr Int24 -> Int24 -> IO () #

Bits Int24 # 
FiniteBits Int24 # 
NFData Int24 # 

Methods

rnf :: Int24 -> () #

Internal helper