Safe Haskell | None |
---|---|
Language | Haskell2010 |
Bitwise bit operations
Documentation
class Bitwise a where Source #
Bitwise bit operations
Bitwise "and"
Bitwise "or"
Bitwise "xor"
Instances
Bitwise Int Source # | |
Bitwise Int8 Source # | |
Bitwise Int16 Source # | |
Bitwise Int32 Source # | |
Bitwise Int64 Source # | |
Bitwise Integer Source # | |
Bitwise Natural Source # | |
Bitwise Word Source # | |
Bitwise Word8 Source # | |
Bitwise Word16 Source # | |
Bitwise Word32 Source # | |
Bitwise Word64 Source # | |
Bitwise Buffer Source # | |
Bitwise a => Bitwise (AsLittleEndian a) Source # | |
Defined in Haskus.Binary.Endianness (.&.) :: AsLittleEndian a -> AsLittleEndian a -> AsLittleEndian a Source # (.|.) :: AsLittleEndian a -> AsLittleEndian a -> AsLittleEndian a Source # xor :: AsLittleEndian a -> AsLittleEndian a -> AsLittleEndian a Source # | |
Bitwise a => Bitwise (AsBigEndian a) Source # | |
Defined in Haskus.Binary.Endianness (.&.) :: AsBigEndian a -> AsBigEndian a -> AsBigEndian a Source # (.|.) :: AsBigEndian a -> AsBigEndian a -> AsBigEndian a Source # xor :: AsBigEndian a -> AsBigEndian a -> AsBigEndian a Source # | |
(KnownNat n, Bitwise a, Storable a) => Bitwise (Vector n a) Source # | |