hw-bits-0.7.0.2: Bit manipulation

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.Types.Builtin

Synopsis

Documentation

newtype Builtin a Source #

Type wrapper to prefer builting operations.

Constructors

Builtin a 

Instances

Eq a => Eq (Builtin a) Source # 

Methods

(==) :: Builtin a -> Builtin a -> Bool #

(/=) :: Builtin a -> Builtin a -> Bool #

Show a => Show (Builtin a) Source # 

Methods

showsPrec :: Int -> Builtin a -> ShowS #

show :: Builtin a -> String #

showList :: [Builtin a] -> ShowS #

Storable a => Storable (Builtin a) Source # 

Methods

sizeOf :: Builtin a -> Int #

alignment :: Builtin a -> Int #

peekElemOff :: Ptr (Builtin a) -> Int -> IO (Builtin a) #

pokeElemOff :: Ptr (Builtin a) -> Int -> Builtin a -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Builtin a) #

pokeByteOff :: Ptr b -> Int -> Builtin a -> IO () #

peek :: Ptr (Builtin a) -> IO (Builtin a) #

poke :: Ptr (Builtin a) -> Builtin a -> IO () #

BitWise a => BitWise (Builtin a) Source # 
PopCount1 (Vector (Builtin Word8)) Source # 
PopCount1 (Vector (Builtin Word16)) Source # 
PopCount1 (Vector (Builtin Word32)) Source # 
PopCount1 (Vector (Builtin Word64)) Source # 
PopCount1 (Vector (Builtin Word8)) Source # 
PopCount1 (Vector (Builtin Word16)) Source # 
PopCount1 (Vector (Builtin Word32)) Source # 
PopCount1 (Vector (Builtin Word64)) Source # 
PopCount1 (Builtin Word8) Source # 
PopCount1 (Builtin Word16) Source # 
PopCount1 (Builtin Word32) Source # 
PopCount1 (Builtin Word64) Source # 
PopCount0 (Vector (Builtin Word8)) Source # 
PopCount0 (Vector (Builtin Word16)) Source # 
PopCount0 (Vector (Builtin Word32)) Source # 
PopCount0 (Vector (Builtin Word64)) Source # 
PopCount0 (Vector (Builtin Word8)) Source # 
PopCount0 (Vector (Builtin Word16)) Source # 
PopCount0 (Vector (Builtin Word32)) Source # 
PopCount0 (Vector (Builtin Word64)) Source # 
PopCount0 (Builtin Word8) Source # 
PopCount0 (Builtin Word16) Source # 
PopCount0 (Builtin Word32) Source # 
PopCount0 (Builtin Word64) Source #