hw-bits-0.7.0.5: Bit manipulation

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.ElemFixedBitSize

Synopsis

Documentation

class ElemFixedBitSize v where Source #

Class of values that have elements of a fixed bit size

>>> elemFixedBitSize (Vector Word8)
8

Associated Types

type Elem v Source #

The element type of the elemnet

Methods

elemFixedBitSize :: v -> Count Source #

Get the bit size of an element for a given composite bit-string type.

>>> elemFixedBitSize (Vector Word8)
8
Instances
ElemFixedBitSize [Bool] Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem [Bool] :: Type Source #

ElemFixedBitSize [Word8] Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem [Word8] :: Type Source #

ElemFixedBitSize [Word16] Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem [Word16] :: Type Source #

ElemFixedBitSize [Word32] Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem [Word32] :: Type Source #

ElemFixedBitSize [Word64] Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem [Word64] :: Type Source #

ElemFixedBitSize (Vector Bool) Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem (Vector Bool) :: Type Source #

ElemFixedBitSize (Vector Word8) Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem (Vector Word8) :: Type Source #

ElemFixedBitSize (Vector Word16) Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem (Vector Word16) :: Type Source #

ElemFixedBitSize (Vector Word32) Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem (Vector Word32) :: Type Source #

ElemFixedBitSize (Vector Word64) Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem (Vector Word64) :: Type Source #

ElemFixedBitSize (Vector Bool) Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem (Vector Bool) :: Type Source #

ElemFixedBitSize (Vector Word8) Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem (Vector Word8) :: Type Source #

ElemFixedBitSize (Vector Word16) Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem (Vector Word16) :: Type Source #

ElemFixedBitSize (Vector Word32) Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem (Vector Word32) :: Type Source #

ElemFixedBitSize (Vector Word64) Source # 
Instance details

Defined in HaskellWorks.Data.Bits.ElemFixedBitSize

Associated Types

type Elem (Vector Word64) :: Type Source #