| Copyright | (c) 2013 Chris Done, 2013 Shachaf Ben-Kiki |
|---|---|
| License | BSD3 |
| Maintainer | chrisdone@gmail.com |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell98 |
Formatting
Description
Combinator-based type-safe formatting (like printf() or FORMAT) for Text.
Example:
>>>format ("Person's name is " % text % ", age is " % hex) "Dave" 54
See Formatting.Formatters for a complete list of formatting combinators.
Top-level functions
hprint :: Handle -> Holey Builder (IO ()) a -> a Source
Run the formatter and put the output onto the given Handle.
Formatting library
module Formatting.Holey
module Formatting.Formatters