Hoogle Search

Within LTS Haskell 24.50 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. newtype ShowInstance a

    text-display Data.Text.Display.Core

    This wrapper allows you to rely on a pre-existing Show instance in order to derive Display from it.

    Example

    data AutomaticallyDerived = AD
    -- We derive 'Show'
    deriving stock Show
    -- We take advantage of the 'Show' instance to derive 'Display' from it
    deriving Display
    via (ShowInstance AutomaticallyDerived)
    

  2. ShowInstance :: a -> ShowInstance a

    text-display Data.Text.Display.Core

    No documentation available.

  3. type family ShowNatBase (base :: Natural) (showDigit :: Natural ~> Char) (n :: Natural) :: Symbol

    type-level-show TypeLevelShow.Natural

    Render a type-level Natural in the given base using the given digit renderer. The digit renderer is guaranteed to be called with 0 <= n < base.

  4. type family ShowNatBase' (base :: Natural) (showDigit :: Natural ~> Char) (acc :: Symbol) (n :: Natural) :: Symbol

    type-level-show TypeLevelShow.Natural

    No documentation available.

  5. type ShowNatBin (n :: Natural) = ShowNatBase 2 ShowNatDigitHexLowerSym n

    type-level-show TypeLevelShow.Natural

    No documentation available.

  6. type ShowNatDec (n :: Natural) = ShowNatBase 10 ShowNatDigitHexLowerSym n

    type-level-show TypeLevelShow.Natural

    No documentation available.

  7. type ShowNatHexLower (n :: Natural) = ShowNatBase 16 ShowNatDigitHexLowerSym n

    type-level-show TypeLevelShow.Natural

    No documentation available.

  8. type ShowNatHexUpper (n :: Natural) = ShowNatBase 16 ShowNatDigitHexUpperSym n

    type-level-show TypeLevelShow.Natural

    No documentation available.

  9. type ShowNatOct (n :: Natural) = ShowNatBase 8 ShowNatDigitHexLowerSym n

    type-level-show TypeLevelShow.Natural

    No documentation available.

  10. type family ShowNatDigitHexLower (d :: Natural) :: Char

    type-level-show TypeLevelShow.Natural.Digit

    Return the associated lower-case Char for a Natural hexadecimal digit. Unsafe. Must be called with 0-15.

Page 212 of many | Previous | Next