Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
prefixed :: Builder -> Format r a -> Format r aformatting 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
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"
suffixed :: Builder -> Format r a -> Format r aformatting Formatting.Combinators Add the given suffix to the formatted item.
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.
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.
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.
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.
fixed :: Real a => Int -> a -> Builderformatting Formatting.Internal.Raw Render a floating point number using normal notation, with the given number of decimal places.
-
GdkPixbuf bindings Bindings for GdkPixbuf, autogenerated by haskell-gi.
-
No documentation available.