Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Documentation
class Ord bits => C bits where Source #
This class is similar to the Bits
class from the base
package
but adds keepMinimum
and misses the rotation stuff.
empty, complement, keepMinimum, xor, (.&.), (.|.)
complement, keepMinimum :: bits -> bits Source #
xor, (.&.), (.|.) :: bits -> bits -> bits infixl 7 .&.infixl 5 .|. Source #
difference :: C bits => bits -> bits -> bits Source #
Sum !a !b |