hw-bits-0.6.0.0: Bit manipulation

Copyright2016 John Ky
LicenseMIT
Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.Types.Broadword

Description

Succinct operations.

Synopsis

Documentation

newtype Broadword a Source #

Type wrapper to prefer broadword operations

Constructors

Broadword a 

Instances

Eq a => Eq (Broadword a) Source # 

Methods

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

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

Show a => Show (Broadword a) Source # 
Storable a => Storable (Broadword a) Source # 

Methods

sizeOf :: Broadword a -> Int #

alignment :: Broadword a -> Int #

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

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

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

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

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

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

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