Copyright | 2016 John Ky |
---|---|
License | MIT |
Safe Haskell | None |
Language | Haskell2010 |
Succinct operations.
- class FixedBitSize a where
- fixedBitSize :: a -> Count
Documentation
class FixedBitSize a where Source
Class of values that have a fix bit size
fixedBitSize :: a -> Count Source
Get the bit size of a value of given type.
>>>
fixedBitSize Word8
8