format

This returns whether the data was returned in a binary or textual format. Analogous to libpq's PQfformat.
Creates a string from a matrix given a separator and a function to show each entry. Using this function the user can easily define any desired display function:
import Text.Printf(printf)
disp = putStr . format "  " (printf "%.2f")
Run the formatter and return a lazy Text value.
Implementation of the dhall format subcommand
Convert a Format string to a print function that takes zero or more typed arguments and returns a Text string
An old-style formatting function taken from text-format (see Data.Text.Format). Unlike format from Data.Text.Format, it can produce String and strict Text as well (and print to console too). Also it's polyvariadic:
>>> format "{} + {} = {}" 2 2 4
2 + 2 = 4
You can use arbitrary formatters:
>>> format "0x{} + 0x{} = 0x{}" (hexF 130) (hexF 270) (hexF (130+270))
0x82 + 0x10e = 0x190
Format document with <?xml.. header - lazy variant that returns lazy ByteString.
Combinator for the format attribute.
Tries to detect the image format by attempting formattedAs with each possible Format. If you're trying to test for a specific format, use a specific formattedAs directly instead.
Header and sample format