Module

Data.Long.Bits

This module defines bitwise operations for the Long type.

#and

and :: Long -> Long -> Long

Bitwise AND.

#(.&.)

Operator alias for Data.Long.Bits.and (left-associative / precedence 10)

#or

or :: Long -> Long -> Long

Bitwise OR.

#(.|.)

Operator alias for Data.Long.Bits.or (left-associative / precedence 10)

#xor

xor :: Long -> Long -> Long

Bitwise XOR.

#(.^.)

Operator alias for Data.Long.Bits.xor (left-associative / precedence 10)

#shl

shl :: Long -> Long -> Long

Bitwise shift left.

#shr

shr :: Long -> Long -> Long

Bitwise shift right.

#zshr

zshr :: Long -> Long -> Long

Bitwise zero-fill shift right.

#complement

complement :: Long -> Long

Bitwise NOT.

Modules