hw-bits-0.7.2.1: Bit manipulation
HaskellWorks.Data.Bits.Types.Builtin
newtype Builtin a Source #
Type wrapper to prefer builting operations.
Constructors
Defined in HaskellWorks.Data.Bits.Types.Builtin
Methods
(==) :: Builtin a -> Builtin a -> Bool #
(/=) :: Builtin a -> Builtin a -> Bool #
showsPrec :: Int -> Builtin a -> ShowS #
show :: Builtin a -> String #
showList :: [Builtin a] -> ShowS #
Associated Types
type Rep (Builtin a) :: Type -> Type #
from :: Builtin a -> Rep (Builtin a) x #
to :: Rep (Builtin a) x -> Builtin a #
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 () #
rnf :: Builtin a -> () #
(.&.) :: Builtin a -> Builtin a -> Builtin a Source #
(.|.) :: Builtin a -> Builtin a -> Builtin a Source #
(.^.) :: Builtin a -> Builtin a -> Builtin a Source #
comp :: Builtin a -> Builtin a Source #
all0s :: Builtin a Source #
all1s :: Builtin a Source #
Defined in HaskellWorks.Data.Bits.PopCount.PopCount1
popCount1 :: Vector (Builtin Word8) -> Count Source #
popCount1 :: Vector (Builtin Word16) -> Count Source #
popCount1 :: Vector (Builtin Word32) -> Count Source #
popCount1 :: Vector (Builtin Word64) -> Count Source #
popCount1 :: Builtin Word8 -> Count Source #
popCount1 :: Builtin Word16 -> Count Source #
popCount1 :: Builtin Word32 -> Count Source #
popCount1 :: Builtin Word64 -> Count Source #
Defined in HaskellWorks.Data.Bits.PopCount.PopCount0
popCount0 :: Vector (Builtin Word8) -> Count Source #
popCount0 :: Vector (Builtin Word16) -> Count Source #
popCount0 :: Vector (Builtin Word32) -> Count Source #
popCount0 :: Vector (Builtin Word64) -> Count Source #
popCount0 :: Builtin Word8 -> Count Source #
popCount0 :: Builtin Word16 -> Count Source #
popCount0 :: Builtin Word32 -> Count Source #
popCount0 :: Builtin Word64 -> Count Source #