Module

Data.Long.Bits

Package
purescript-longs
Repository
zapph/purescript-longs

This module defines bitwise operations for the Long type.

#and Source

and :: Long -> Long -> Long

Bitwise AND.

#(.&.) Source

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

#or Source

or :: Long -> Long -> Long

Bitwise OR.

#(.|.) Source

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

#xor Source

xor :: Long -> Long -> Long

Bitwise XOR.

#(.^.) Source

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

#shl Source

shl :: Long -> Long -> Long

Bitwise shift left.

#shr Source

shr :: Long -> Long -> Long

Bitwise shift right.

#zshr Source

zshr :: Long -> Long -> Long

Bitwise zero-fill shift right.

#complement Source

complement :: Long -> Long

Bitwise NOT.