Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

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

  1. octPrefix :: Integral a => Int64 -> Format r (a -> r)

    formatting Formatting.Combinators

    Render an integer using octal notation with a leading 0o, padding with zeroes to the given width:

    >>> format (octPrefix 16) 4097
    "0o0000000000010001"
    

  2. prefixed :: Builder -> Format r a -> Format r a

    formatting Formatting.Combinators

    Add the given prefix to the formatted item:

    >>> format ("The answer is: " % prefixed "wait for it... " int) 42
    "The answer is: wait for it... 42"
    
    >>> fprint (unlined (indented 4 (prefixed "- " int))) [1, 2, 3]
    - 1
    - 2
    - 3
    

  3. rfixed :: Int64 -> Char -> Format r (a -> r) -> Format r (a -> r)

    formatting Formatting.Combinators

    Format the item with a fixed width, padding with the given character on the right to extend, adding an ellipsis on the right to shorten:

    >>> format (rfixed 10 ' ' int) 123
    "       123"
    
    >>> format (rfixed 10 ' ' int) 1234567890
    "1234567890"
    
    >>> format (rfixed 10 ' ' int) 123456789012345
    "...9012345"
    

  4. suffixed :: Builder -> Format r a -> Format r a

    formatting Formatting.Combinators

    Add the given suffix to the formatted item.

  5. fixed :: Real a => Int -> Format r (a -> r)

    formatting Formatting.Formatters

    Render a floating point number using normal notation, with the given number of decimal places.

  6. prefixBin :: Integral a => Format r (a -> r)

    formatting Formatting.Formatters

    Render an integer using binary notation with a leading 0b. See also binPrefix for fixed-width formatting.

  7. prefixHex :: Integral a => Format r (a -> r)

    formatting Formatting.Formatters

    Render an integer using hexadecimal notation with a leading 0x. See also hexPrefix for fixed-width formatting.

  8. prefixOct :: Integral a => Format r (a -> r)

    formatting Formatting.Formatters

    Render an integer using octal notation with a leading 0o. See also octPrefix for fixed-width formatting.

  9. fixed :: Real a => Int -> a -> Builder

    formatting Formatting.Internal.Raw

    Render a floating point number using normal notation, with the given number of decimal places.

  10. package gi-gdkpixbuf

    GdkPixbuf bindings Bindings for GdkPixbuf, autogenerated by haskell-gi.

Page 191 of many | Previous | Next