-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Showing data as strings of 0 and 1 -- -- The showFiniteBits function, for a type belonging to the -- FiniteBits class, displays the bits as a string. @package bits-show @version 0.0.0.0 module Bits.Show class FixedWidthIntegral -- | Examples: -- --
-- showFiniteBits (5 :: Int8) = "00000101" ---- --
-- showFiniteBits ((-5) :: Int8) = "11111011" --showFiniteBits :: (FiniteBits bits, IsString string) => bits -> string -- |
-- { True -> '1'; False -> '0' }
--
showBit :: Bool -> Char