base-compat-0.11.1: A compatibility layer for base
Safe HaskellSafe-Inferred
LanguageHaskell98

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 #

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