formatting-6.1.1: Combinator-based type-safe formatting (like printf() or FORMAT)
Formatting.Internal
Description
Internal format starters.
Synopsis
format :: Format Text a -> a Source
Run the formatter and return a lazy Text value.
Text
sformat :: Format Text a -> a Source
Run the formatter and return a strict Text value.
bprint :: Format Builder a -> a Source
Run the formatter and return a Builder value.
Builder
fprint :: Format (IO ()) a -> a Source
Run the formatter and print out the text to stdout.
hprint :: Handle -> Format (IO ()) a -> a Source
Run the formatter and put the output onto the given Handle.
Handle
formatToString :: Format [Char] a -> a Source
Run the formatter and return a list of characters.