hw-bits-0.6.0.0: Bit manipulation

Copyright2016 John Ky
LicenseMIT
Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.FixedBitSize

Description

Succinct operations.

Synopsis

Documentation

class FixedBitSize a where Source #

Class of values that have a fix bit size

Minimal complete definition

fixedBitSize

Methods

fixedBitSize :: a -> Count Source #

Get the bit size of a value of given type.

>>> fixedBitSize Word8
8