@hackage text-format-heavy0.1.0.0

Full-weight string formatting library, analog of Python's string.format

This package contains full-featured string formatting function, similar to Python's string.format. Features include:

  • Automatically numbered variable placeholders;

  • Positional variable placeholders;

  • Named variable placeholders;

  • Placeholders can be used in any order; one variable can be used several times or not used at all.

  • Specific format can be used for each variable substitution.

This package prefers functionality over "light weight" and (probably) performance. It also exposes all required interfaces to extend and customize it.

For more details, please refer to Wiki. See also the examples/ directory.