Data.Bits.Compat

base-compat-0.13.1: A compatibility layer for base

Safe Haskell | Safe-Inferred
Language | Haskell2010

Data.Bits.Compat

# Documentation

bitDefault :: (Bits a, Num a) => Int -> a #

testBitDefault :: (Bits a, Num a) => a -> Int -> Bool #

popCountDefault :: (Bits a, Num a) => a -> Int #

(.^.) :: Bits a => a -> a -> a #

(.>>.) :: Bits a => a -> Int -> a #

(.<<.) :: Bits a => a -> Int -> a #

(!>>.) :: Bits a => a -> Int -> a #

(!<<.) :: Bits a => a -> Int -> a #

toIntegralSized :: (Integral a, Integral b, Bits a, Bits b) => a -> Maybe b #

oneBits :: FiniteBits a => a #