hw-bits-0.6.0.0: Bit manipulation

Copyright2016 John Ky
LicenseMIT
Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.BitLength

Contents

Description

Succinct operations.

Synopsis

Bit map

class BitLength v where Source #

Number of bits in a value including ones and zeros.

Minimal complete definition

bitLength

Instances

BitLength Bool Source # 
BitLength Word8 Source # 
BitLength Word16 Source # 
BitLength Word32 Source # 
BitLength Word64 Source # 
BitLength [Bool] Source # 
BitLength [Word8] Source # 
BitLength [Word16] Source # 
BitLength [Word32] Source # 
BitLength [Word64] Source # 
BitLength (Naive Word8) Source # 
BitLength (Naive Word16) Source # 
BitLength (Naive Word32) Source # 
BitLength (Naive Word64) Source # 
BitLength (Vector Word8) Source # 
BitLength (Vector Word16) Source # 
BitLength (Vector Word32) Source # 
BitLength (Vector Word64) Source # 
BitLength (Vector Word8) Source # 
BitLength (Vector Word16) Source # 
BitLength (Vector Word32) Source # 
BitLength (Vector Word64) Source #