hw-bits-0.7.0.1: Bit manipulation

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.BitShow

Synopsis

Documentation

class BitShow a where Source #

Shower of a value as a bit string

Minimal complete definition

bitShows

Methods

bitShows :: a -> String -> String Source #

Show a value as a bit string

Instances

BitShow Bool Source # 

Methods

bitShows :: Bool -> String -> String Source #

BitShow Word8 Source # 
BitShow Word16 Source # 
BitShow Word32 Source # 
BitShow Word64 Source # 
BitShow ByteString Source # 
BitShow ByteString Source # 
BitShow [Bool] Source # 

Methods

bitShows :: [Bool] -> String -> String Source #

BitShow [Word8] Source # 

Methods

bitShows :: [Word8] -> String -> String Source #

BitShow [Word16] Source # 

Methods

bitShows :: [Word16] -> String -> String Source #

BitShow [Word32] Source # 

Methods

bitShows :: [Word32] -> String -> String Source #

BitShow [Word64] Source # 

Methods

bitShows :: [Word64] -> String -> String Source #

BitShow (Vector Word8) Source # 
BitShow (Vector Word16) Source # 
BitShow (Vector Word32) Source # 
BitShow (Vector Word64) Source # 
BitShow (Vector Word8) Source # 
BitShow (Vector Word16) Source # 
BitShow (Vector Word32) Source # 
BitShow (Vector Word64) Source # 
BitShow a => BitShow (BitShown a) Source #