Safe Haskell | None |
---|
- class (Type a, Bits a, Integral a, Bounded a, Size a ~ Range a) => Bits a where
- (.&.) :: Data a -> Data a -> Data a
- (.|.) :: Data a -> Data a -> Data a
- xor :: Data a -> Data a -> Data a
- complement :: Data a -> Data a
- bit :: Data Index -> Data a
- setBit :: Data a -> Data Index -> Data a
- clearBit :: Data a -> Data Index -> Data a
- complementBit :: Data a -> Data Index -> Data a
- testBit :: Data a -> Data Index -> Data Bool
- shiftLU :: Data a -> Data Index -> Data a
- shiftRU :: Data a -> Data Index -> Data a
- shiftL :: Data a -> Data IntN -> Data a
- shiftR :: Data a -> Data IntN -> Data a
- rotateLU :: Data a -> Data Index -> Data a
- rotateRU :: Data a -> Data Index -> Data a
- rotateL :: Data a -> Data IntN -> Data a
- rotateR :: Data a -> Data IntN -> Data a
- reverseBits :: Data a -> Data a
- bitScan :: Data a -> Data Index
- bitCount :: Data a -> Data Index
- bitSize :: Data a -> Data Index
- bitSize' :: Data a -> Index
- isSigned :: Data a -> Data Bool
- isSigned' :: Data a -> Bool
- finiteBitSize :: Bits b => b -> Int
- (⊕) :: Bits a => Data a -> Data a -> Data a
- (.<<.) :: Bits a => Data a -> Data Index -> Data a
- (.>>.) :: Bits a => Data a -> Data Index -> Data a
- allOnes :: Bits a => Data a
- oneBits :: Bits a => Data Index -> Data a
- lsbs :: Bits a => Data Index -> Data a -> Data a
Documentation
class (Type a, Bits a, Integral a, Bounded a, Size a ~ Range a) => Bits a whereSource
(.&.) :: Data a -> Data a -> Data aSource
(.|.) :: Data a -> Data a -> Data aSource
xor :: Data a -> Data a -> Data aSource
complement :: Data a -> Data aSource
bit :: Data Index -> Data aSource
setBit :: Data a -> Data Index -> Data aSource
clearBit :: Data a -> Data Index -> Data aSource
complementBit :: Data a -> Data Index -> Data aSource
testBit :: Data a -> Data Index -> Data BoolSource
shiftLU :: Data a -> Data Index -> Data aSource
shiftRU :: Data a -> Data Index -> Data aSource
shiftL :: Data a -> Data IntN -> Data aSource
shiftR :: Data a -> Data IntN -> Data aSource
rotateLU :: Data a -> Data Index -> Data aSource
rotateRU :: Data a -> Data Index -> Data aSource
rotateL :: Data a -> Data IntN -> Data aSource
rotateR :: Data a -> Data IntN -> Data aSource
reverseBits :: Data a -> Data aSource
bitScan :: Data a -> Data IndexSource
bitCount :: Data a -> Data IndexSource
bitSize :: Data a -> Data IndexSource
bitSize' :: Data a -> IndexSource
finiteBitSize :: Bits b => b -> IntSource