Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- class FixedWidthIntegral
- showFiniteBits :: (FiniteBits bits, IsString string) => bits -> string
- showBit :: Bool -> Char
Documentation
class FixedWidthIntegral Source #
showFiniteBits :: (FiniteBits bits, IsString string) => bits -> string Source #
Examples:
showFiniteBits (5 :: Int8) = "00000101"
showFiniteBits ((-5) :: Int8) = "11111011"