formatting-5.4: Combinator-based type-safe formatting (like printf() or FORMAT)

Safe HaskellSafe-Inferred
LanguageHaskell98

Formatting.Internal

Description

Internal format starters.

Synopsis

Documentation

format :: Holey Builder Text a -> a Source

Run the formatter and return a lazy Text value.

sformat :: Holey Builder Text a -> a Source

Run the formatter and return a strict Text value.

bprint :: Holey Builder Builder a -> a Source

Run the formatter and return a Builder value.

fprint :: Holey Builder (IO ()) a -> a Source

Run the formatter and print out the text to stdout.

hprint :: Handle -> Holey Builder (IO ()) a -> a Source

Run the formatter and put the output onto the given Handle.